File: rules

package info (click to toggle)
biloba 0.9.3-11.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,392 kB
  • sloc: ansic: 6,712; sh: 3,125; makefile: 289
file content (18 lines) | stat: -rwxr-xr-x 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

P2M := pod2man -u -s 6 -c Biloba -r $(DEB_VERSION)

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -std=gnu17

%:
	dh $@

execute_before_dh_installman:
	test -e biloba.6 || $(P2M) debian/biloba.pod > biloba.6
	test -e biloba-server.6 || $(P2M) debian/biloba-server.pod > biloba-server.6

execute_before_dh_install:
	test -e debian/biloba.png || cp -p biloba_icon.png debian/biloba.png