File: rules

package info (click to toggle)
hobbit-plugins 20141201
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 420 kB
  • ctags: 49
  • sloc: perl: 2,315; sh: 78; makefile: 56
file content (12 lines) | stat: -rwxr-xr-x 323 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	if awk -F'[ ;]+' 'NR==1 {print $3}' debian/changelog | grep -iq backports; then debian/backport.sh; fi
	dh_auto_build

override_dh_auto_clean:
	dh_auto_clean
	if awk -F'[ ;]+' 'NR==1 {print $3}' debian/changelog | grep -iq backports; then debian/backport.sh undo; fi