File: rules

package info (click to toggle)
config-package-dev 5.5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 632 kB
  • sloc: perl: 247; makefile: 66; sh: 49
file content (15 lines) | stat: -rwxr-xr-x 362 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
version := $(shell dpkg-parsechangelog | sed -nr 's/^Version: (.*)/\1/p')
pod2man := pod2man -r "config-package-dev $(version)" -c config-package-dev

%:
	dh $@

override_dh_auto_build:
	$(pod2man) --section=1 dh_configpackage dh_configpackage.1

override_dh_compress:
	dh_compress -Xexamples/

override_dh_clean:
	dh_clean dh_configpackage.1