summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: f543379016a32a26d7c48511857aa4a78d7b0f9c (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-compute-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