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

LIB := $(shell dh_listpackages | head -n 1)

%:
	dh $@

override_dh_compress:
	dh_compress -X .pdf -X demo

override_dh_strip:
	dh_strip --dbg-package=$(LIB)-dbg

override_dh_installdocs:
	dh_installdocs -p $(LIB)-dbg --link-doc=$(LIB)
	dh_installdocs -p $(LIB)-dev --link-doc=$(LIB)
	dh_installdocs --remaining-packages

override_dh_auto_build:
	dh_auto_build
	mv partview cuba-partview

override_dh_auto_clean:
	rm -f cuba-partview
	dh_auto_clean