| 1 |
#!/usr/bin/make -f |
| 2 |
#export DH_VERBOSE=1 |
| 3 |
|
| 4 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 |
|
| 6 |
backupdir=$(CURDIR)/debian/auto_backup |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ |
| 10 |
|
| 11 |
override_dh_clean: |
| 12 |
dh_clean |
| 13 |
if [ -d $(backupdir) ] ; then mv $(backupdir)/* $(CURDIR); rmdir $(backupdir) ; fi |
| 14 |
rm -f config.guess config.sub # somehow these files are changed anyway - removing is the easiest way |
| 15 |
|
| 16 |
override_dh_autoreconf: |
| 17 |
mkdir -p $(backupdir) |
| 18 |
mv INSTALL Makefile.in aclocal.m4 autogen.sh compile config.h.in configure depcomp install-sh $(backupdir) |
| 19 |
dh_autoreconf |