File: rules

package info (click to toggle)
hobbit-plugins 20190129
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 588 kB
  • sloc: perl: 3,273; sh: 84; makefile: 22
file content (12 lines) | stat: -rwxr-xr-x 371 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	if dpkg-parsechangelog -S distribution | egrep -iq '(squeeze|wheezy|oldstable|precise)-backports'; then debian/backport.sh; fi
	dh_auto_build

override_dh_auto_clean:
	dh_auto_clean
	if dpkg-parsechangelog -S distribution | egrep -iq '(squeeze|wheezy|oldstable|precise)-backports'; then debian/backport.sh undo; fi