File: rules

package info (click to toggle)
librg-utils-perl 1.0.43-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,640 kB
  • sloc: perl: 9,665; sh: 625; makefile: 44
file content (26 lines) | stat: -rwxr-xr-x 649 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/default.mk

%:
	dh $@

override_dh_auto_install:
	$(MAKE) DESTDIR=$(CURDIR)/debian/$(DEB_SOURCE) install

override_dh_auto_clean:
	rm -rf autom4te.cache blib Build
	dh_auto_clean
	if [ -f Makefile ] ; then make distclean ; fi
	if [ -f Makefile.in.bak ] ; then mv Makefile.in.bak Makefile.in ; fi
	if [ -f configure.bak ] ; then mv configure.bak configure ; fi

override_dh_auto_configure:
	cp -a Makefile.in Makefile.in.bak
	cp -a configure configure.bak
	dh_auto_configure