File: rules

package info (click to toggle)
speechd-el 2.3-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 724 kB
  • ctags: 500
  • sloc: lisp: 4,181; makefile: 100; sh: 37; perl: 27
file content (70 lines) | stat: -rwxr-xr-x 1,434 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

package=speechd-el

.NOTPARALLEL:

build: build-stamp
build-stamp: patch
	dh_testdir
	$(MAKE) info info-cs
	touch build-stamp

clean: clean1 unpatch
clean1:
	dh_testdir
	dh_testroot
	rm -f build-stamp
	$(MAKE) distclean
	rm -f speechd-el.cs.info*
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	dh_install Makefile *.el usr/share/emacs/site-lisp/speechd-el/
	install speechd-log-extractor \
		debian/$(package)/usr/share/emacs/site-lisp/speechd-el/

# Build architecture-independent files here.
binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs -A
	dh_installdocs ANNOUNCE NEWS README speechd-speak.pdf
	dh_installdocs -p $(package)-doc-cs
	dh_installexamples
	dh_install -A
	dh_installemacsen
	dh_installinfo speechd-el.info*
	dh_installinfo -p $(package)-doc-cs speechd-el.cs.info*
	dh_link
	dh_compress -A
	dh_fixperms -A
	dh_installdeb -A
	dh_shlibdeps
	dh_gencontrol -A
	dh_md5sums -A
	dh_builddeb -A

# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.

patch: patch-stamp
patch-stamp:
	dpatch apply-all
	dpatch cat-all >patch-stamp
	touch patch-stamp

unpatch:
	dpatch deapply-all
	rm -rf patch-stamp debian/patched

binary: binary-indep binary-arch
.PHONY: build clean clean1 binary-indep binary-arch binary install patch unpatch