Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 PACKAGE = $(shell dh_listpackages)
4 TMP = $(CURDIR)/debian/$(PACKAGE)
5
6 %:
7 dh $@
8
9 override_dh_auto_test:
10 NO_NETWORK=1 dh_auto_test
11
12 # Historically this package installed 'shorten'
13 # as an example rather than a tool.
14 # I see no compelling reason to change that
15 # but it requires this override.
16 override_dh_installexamples:
17 dh_installexamples bin/shorten
18 $(RM) -rv $(TMP)/usr/bin $(TMP)/usr/share/man/man1
19 sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*