File: rules

package info (click to toggle)
librg-utils-perl 1.0.43-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,632 kB
  • ctags: 410
  • sloc: perl: 9,665; sh: 625; makefile: 37
file content (18 lines) | stat: -rwxr-xr-x 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

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

DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')

%:
	dh $@ --with autotools_dev

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

override_dh_auto_clean:
	dh_auto_clean
	if [ -f Makefile ] ; then make distclean ; fi