File: rules

package info (click to toggle)
libscalar-readonly-perl 0.03-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 116 kB
  • sloc: perl: 16; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 385 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	[ ! -f $(CURDIR)/ppport.h.save ] || mv -v $(CURDIR)/ppport.h.save $(CURDIR)/ppport.h

override_dh_auto_configure:
	[ ! -f $(CURDIR)/ppport.h ] || mv -v $(CURDIR)/ppport.h $(CURDIR)/ppport.h.save
	perl -MDevel::PPPort -e'Devel::PPPort::WriteFile'
	dh_auto_configure