Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 #export DH_VERBOSE=1
3
4 TMP=$(shell pwd)/debian/autodia
5 PERL=/usr/bin/perl
6
7 %:
8 dh $@
9
10 override_dh_auto_configure:
11 # nothing: prevent wrong config run
12
13 override_dh_auto_build:
14 $(PERL) Makefile.PL INSTALLDIRS=vendor
15 $(MAKE) OPTIMIZE="-O2 -g -Wall"
16
17 override_dh_auto_install:
18 dh_auto_install
19 for i in `find $(TMP) -type f` ; do sed -i -e 's/autodia.pl/autodia/' $$i ; done
20 mv $(TMP)/usr/bin/autodia.pl $(TMP)/usr/bin/autodia
21 mv $(TMP)/usr/share/man/man1/autodia.pl.1p $(TMP)/usr/share/man/man1/autodia.1p