Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12 %:
13 dh $@
14
15 # create the manpage using pod2man, which is a utility included in the perl
16 # package. afterwards some cleaning is done.
17 override_dh_installman:
18 mkdir -p debian/pod2man
19 pod2man --utf8 -c "" -r "fizsh 1.0.9" man/fizsh.pod > debian/pod2man/fizsh.1
20 dh_installman debian/pod2man/fizsh.1
21 rm -rf ./debian/pod2man/
22
23 # clean up ./man/fizsh.1, which is generated during the build process.
24 override_dh_builddeb:
25 dh_builddeb
26 rm -rf ./man/fizsh.1