File: rules

package info (click to toggle)
dvbtune 0.5.ds-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 368 kB
  • sloc: ansic: 2,114; sh: 82; makefile: 48
file content (27 lines) | stat: -rwxr-xr-x 576 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f

VERSION=0.5

%:
	dh $@

override_dh_auto_build:
	dh_testdir
	dh_auto_build -- VERSION=$(VERSION)
	dh_auto_build -- VERSION=$(VERSION) xml2vdr
	#rm -rf $(BUILD_DIR)/scripts/CVS
	docbook-to-man debian/dvbtune.sgml > dvbtune.1
	docbook-to-man debian/xml2vdr.sgml > xml2vdr.1

override_dh_installexamples:
	dh_installexamples scripts/*

override_dh_installman:
	dh_installman dvbtune.1 xml2vdr.1

override_dh_installchangelogs:
	cp debian/ChangeLog.upstream ChangeLog
	dh_installchangelogs ChangeLog

override_dh_clean:
	dh_clean ChangeLog dvbtune.1 xml2vdr.1