3
# Uncomment this to turn on verbose mode.
10
# Override auto test because upstream do not use the standard unittest discover
11
override_dh_auto_test:
13
# Override of auto_build
14
override_dh_auto_build:
17
# Override of auto_install to remove information from package
18
override_dh_auto_install:
20
# Remove duplicate copyright information
21
#rm $(CURDIR)/debian/python-gramps/usr/share/doc/gramps/COPYING
22
# Remove install file as it is not needed by package users
23
#rm $(CURDIR)/debian/python-gramps/usr/share/doc/gramps/INSTALL
24
# Remove duplicate license information
25
#rm $(CURDIR)/debian/python-gramps/usr/share/doc/gramps/LICENSE
26
python setup.py install --root=debian/python-gramps --install-layout=deb
28
# Make css style sheets and png icons non-executable
31
chmod a-x $(CURDIR)/debian/python-gramps/usr/share/gramps/css/Web_*.css
32
chmod a-x $(CURDIR)/debian/python-gramps/usr/share/gramps/images/22x22/gramps*.png
33
chmod a-x $(CURDIR)/debian/python-gramps/usr/share/gramps/images/16x16/gramps*.png
35
# Avoid compressing COPYING file so that it can appear in the "About" dialog
37
dh_compress -X COPYING