File: rules

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

CONFIG=$(CURDIR)/lib/Mail/Mbox/MessageParser/Config.pm

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	[ ! -f $(CONFIG).save ] || mv -v $(CONFIG).save $(CONFIG)

override_dh_auto_configure:
	[ ! -f $(CONFIG) ] || cp -v $(CONFIG) $(CONFIG).save
	dh_auto_configure -- BZIP=/bin/bzip2 BZIP2=/bin/bzip2 CAT=/bin/cat GZIP=/bin/gzip LZIP=/usr/bin/lzip XZ=/usr/bin/xz