Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4
5 include /usr/share/dpkg/architecture.mk
6
7 PACKAGE = $(shell dh_listpackages)
8 TMP = $(CURDIR)/debian/$(PACKAGE)
9 PERL ?= /usr/bin/perl
10
11 %:
12 dh $@
13
14 override_dh_auto_configure:
15 ifneq ($(filter $(DEB_HOST_ARCH_OS),kfreebsd hurd),)
16 $(PERL) hints/linux.pl
17 endif
18 dh_auto_configure
19
20 override_dh_installexamples:
21 dh_installexamples
22 sed -i '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*