File: rules

package info (click to toggle)
jaaa 0.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 256 kB
  • sloc: cpp: 2,216; makefile: 45
file content (15 lines) | stat: -rwxr-xr-x 305 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
# -*- makefile -*-

MAINPACKAGE?=$(shell dpkg-parsechangelog | sed -n 's/Source: \(.*\)/\1/p')

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	docbook-to-man debian/${MAINPACKAGE}.sgml > debian/${MAINPACKAGE}.1

override_dh_auto_clean:
	dh_auto_clean
	rm -f debian/${MAINPACKAGE}.1