File: rules

package info (click to toggle)
fso-gsm0710muxd 0.9.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 476 kB
  • ctags: 209
  • sloc: ansic: 1,787; sh: 1,031; makefile: 58; xml: 26
file content (42 lines) | stat: -rwxr-xr-x 832 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/make -f


build: build-stamp
build-stamp:
	dh build
	touch build-stamp

clean:
	rm -f build-stamp
	rm -f install-stamp
	dh clean

install: build install-stamp
install-stamp:
	# Run this first
	dh install --until dh_auto_install

	# generate the manpage, thanks to lintian
	# upstream -V (version) output is not standard
	help2man -N -v -V \
		-n "GSM 07.10 Multiplexer (freesmartphone.org version)" \
		-S "freesmartphone.org" \
		-o debian/gsm0710muxd.1 \
		src/gsm0710muxd
	sed -i \
		-e "s/This /gsm0710muxd /" \
		-e "s/THIS \"/GSM0710MUXD \"/g" \
		debian/gsm0710muxd.1
	dh_installman debian/gsm0710muxd.1

	# continue with automatic installation
	dh install --after dh_auto_install
	touch install-stamp

binary-arch: install
	dh binary-arch

binary-indep: install
	dh binary-indep

binary: binary-arch binary-indep