File: rules

package info (click to toggle)
libtemplate-perl 2.27-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 2,632 kB
  • sloc: perl: 14,750; makefile: 11; sh: 5
file content (14 lines) | stat: -rwxr-xr-x 486 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
%:
	dh $@
	
override_dh_auto_configure:
	[ ! -f $(CURDIR)/debian/Config.pm.backup.tmp ] && cp $(CURDIR)/lib/Template/Config.pm $(CURDIR)/debian/Config.pm.backup.tmp
	dh_auto_configure

override_dh_auto_clean:
	dh_auto_clean
	rm -f $(CURDIR)/.defaults.cfg
	rm -f $(CURDIR)/t/test/src/divisionbyzero.ttc
	rm -rf $(CURDIR)/t/test/tmp/cache/*
	[ ! -f $(CURDIR)/debian/Config.pm.backup.tmp ] || mv -f $(CURDIR)/debian/Config.pm.backup.tmp $(CURDIR)/lib/Template/Config.pm