diff options
author | B Stack <bgstack15@gmail.com> | 2019-02-02 13:20:04 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-02-02 13:20:04 +0000 |
commit | 6fd541d7510f66d91a38a83b1a3ff01ae6fbfe3f (patch) | |
tree | 85e7694e00578f4353b3f7da419d4749437e0532 /veracrypt/debian/rules | |
parent | Merge branch 'freefilesync-dpkg' into 'master' (diff) | |
parent | add veracrypt dpkg first draft (diff) | |
download | stackrpms-6fd541d7510f66d91a38a83b1a3ff01ae6fbfe3f.tar.gz stackrpms-6fd541d7510f66d91a38a83b1a3ff01ae6fbfe3f.tar.bz2 stackrpms-6fd541d7510f66d91a38a83b1a3ff01ae6fbfe3f.zip |
Merge branch 'veracrypt-dpkg' into 'master'
veracrypt dpkg for devuan
See merge request bgstack15/stackrpms!34
Diffstat (limited to 'veracrypt/debian/rules')
-rwxr-xr-x | veracrypt/debian/rules | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/veracrypt/debian/rules b/veracrypt/debian/rules new file mode 100755 index 0000000..5cb3e9e --- /dev/null +++ b/veracrypt/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +%: + dh $@ --sourcedirectory=src + +override_dh_auto_build: + dh_auto_build -- VERBOSE=1 NOSTRIP=1 + unset DISPLAY && src/Main/veracrypt --text --help 2>/dev/null | debian/veracrypt_help_to_troff.pl > veracrypt.1 + +override_dh_clean: + dh_clean veracrypt.1 + +override_dh_installinit: + dh_installinit --no-start -- stop 10 0 1 6 . |