summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules10
1 files changed, 3 insertions, 7 deletions
diff --git a/debian/rules b/debian/rules
index 5e8935b..849e8b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,11 @@
#!/usr/bin/make -f
-#include /usr/share/quilt/quilt.make
-
#export DH_VERBOSE=1
-export DH_OPTIONS
#
# Hardening
#
-export DEB_BUILD_HARDENING=1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
@@ -16,9 +13,10 @@ export DEB_BUILD_HARDENING=1
override_dh_install:
dh_install
- ./install --text --prefix=$(CURDIR)/debian/gcstar/usr
+ ./install --noclean --text --prefix=$(CURDIR)/debian/gcstar/usr
install -D -m 0644 share/applications/gcstar.xml \
debian/gcstar/usr/share/mime/packages/gcstar.xml
+ chmod 0744 debian/gcstar/usr/share/gcstar/xslt/applyXSLT.pl
#
# remove misplaced manpage
#
@@ -32,7 +30,5 @@ override_dh_install:
rm -f debian/gcstar/usr/share/gcstar/fonts/License.txt
rm -f debian/gcstar/usr/share/gcstar/LICENSE
-
override_dh_installman:
dh_installman man/gcstar.1
-