diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-12-04 16:46:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-12-08 05:02:58 +0000 |
commit | 6021f24bbf526d34fead6120e9d3961358cb68fb (patch) | |
tree | 2be7357675b97d3b72ec13c6b64b865067dad704 /debian/rules | |
parent | Adding VERSION.txt. (diff) | |
download | root-shell-main.tar.xz root-shell-main.zip |
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..7b40d5c --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +PACKAGE := open-infrastructure-root-shell + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh ${@} + +execute_after_dh_auto_install: + rm -f debian/$(PACKAGE)/usr/share/doc/*/CHANGELOG.txt + rm -f debian/$(PACKAGE)/usr/share/doc/*/LICENSE.txt + + mv debian/$(PACKAGE)/usr/share/doc/* debian/$(PACKAGE)/usr/share/doc/$(PACKAGE) |