summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 7b40d5ce504ebc21a7ac12ca4907800754819328 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)