File: rules

package info (click to toggle)
curtain 0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,236 kB
  • sloc: sh: 11,552; ansic: 658; makefile: 140
file content (19 lines) | stat: -rwxr-xr-x 527 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

backupdir=$(CURDIR)/debian/auto_backup

%:
	dh $@

override_dh_clean:
	dh_clean
	if [ -d $(backupdir) ] ; then mv $(backupdir)/* $(CURDIR); rmdir $(backupdir) ; fi
	rm -f config.guess config.sub # somehow these files are changed anyway - removing is the easiest way

override_dh_autoreconf:
	mkdir -p $(backupdir)
	mv INSTALL Makefile.in aclocal.m4 autogen.sh compile config.h.in configure depcomp install-sh $(backupdir)
	dh_autoreconf