diff options
author | Max <msuraev@sysmocom.de> | 2016-12-21 14:35:21 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2016-12-21 18:05:27 +0100 |
commit | c9a86ff30636c1c7cf2af2f246796e622ed01169 (patch) | |
tree | 975b598492ff27eec774635a171f26ce046a92c2 /debian/rules | |
parent | eda74fafb40e1c760a0cafd095d0fa91a23b66f0 (diff) |
Integrate Debian packaging changes
debian/control:
* restructure to make it easier to incorporate further changes
* update package descriptions
* update project URL
debian/rules:
* use proper hardening syntax
* restructure to make it easier to incorporate further changes
* add cleanup override
debian/copyright: add file matching Debian format
Change-Id: I9174b34a79c0562ef43f757ea76d67301088f109
Related: OS#1694
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index a4ddfaa..f398831 100755 --- a/debian/rules +++ b/debian/rules @@ -4,8 +4,9 @@ DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2) DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1) VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g') +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + #export DH_VERBOSE=1 -export DEB_BUILD_HARDENING=1 %: @@ -21,3 +22,7 @@ override_dh_autoreconf: override_dh_install: dh_install sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'` + +override_dh_clean: + dh_clean + rm -f tests/package.m4 tests/testsuite .version .tarball-version |