File: rules

package info (click to toggle)
debian-goodies 0.88.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 396 kB
  • sloc: sh: 926; python: 775; perl: 708; makefile: 14
file content (23 lines) | stat: -rwxr-xr-x 595 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

PODDOC=debget dglob dgrep dpigs find-dbgsym-packages

%:
	dh $@

override_dh_auto_build:
	for prog in $(PODDOC); do pod2man -c "Debian-goodies documentation" $$prog.pod > $$prog.1; done
	help2man -n "show enhancement packages" \
	         -m "Debian-goodies documentation" \
	         -N ./check-enhancements | \
	    sed -e 's/DESCRIPTION/SYNOPSIS/' > check-enhancements.1

override_dh_auto_install:
	dh_auto_install
	dh_bash-completion

override_dh_auto_clean:
	for prog in $(PODDOC); do rm -f $$prog.1; done