summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: f2a01c2a537d56e4abadb5e9deb844f931a2ec5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

PACKAGE := open-infrastructure-container-tools

%:
	dh ${@}

override_dh_auto_build:
	# disabled

override_dh_auto_install:
	dh_auto_install -- DESTDIR=$(CURDIR)/debian/$(PACKAGE)

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)

override_dh_installsystemd:
	dh_installsystemd --no-restart-after-upgrade --no-start --no-stop-on-upgrade