Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
7
8 include /usr/share/dpkg/default.mk
9
10 %:
11 dh $@
12
13 override_dh_auto_install:
14 $(MAKE) DESTDIR=$(CURDIR)/debian/$(DEB_SOURCE) install
15
16 override_dh_auto_clean:
17 rm -rf autom4te.cache blib Build
18 dh_auto_clean
19 if [ -f Makefile ] ; then make distclean ; fi
20 if [ -f Makefile.in.bak ] ; then mv Makefile.in.bak Makefile.in ; fi
21 if [ -f configure.bak ] ; then mv configure.bak configure ; fi
22
23 override_dh_auto_configure:
24 cp -a Makefile.in Makefile.in.bak
25 cp -a configure configure.bak
26 dh_auto_configure