File: rules

package info (click to toggle)
hobbit-plugins 20170219
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 536 kB
  • ctags: 52
  • sloc: perl: 2,956; sh: 82; 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