Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/pkg-info.mk
4
5 P2M := pod2man -u -s 6 -c Biloba -r $(DEB_VERSION)
6
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8 export DEB_CFLAGS_MAINT_APPEND = -std=gnu17
9
10 %:
11 dh $@
12
13 execute_before_dh_installman:
14 test -e biloba.6 || $(P2M) debian/biloba.pod > biloba.6
15 test -e biloba-server.6 || $(P2M) debian/biloba-server.pod > biloba-server.6
16
17 execute_before_dh_install:
18 test -e debian/biloba.png || cp -p biloba_icon.png debian/biloba.png