File: rules

package info (click to toggle)
speechd-el 2.11-2
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 916 kB
  • sloc: lisp: 4,993; makefile: 120; perl: 54; sh: 29
file content (28 lines) | stat: -rwxr-xr-x 655 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
#!/usr/bin/make -f

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

package=speechd-el
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
	DOC_TARGETS=info info-cs
endif

%:
	dh $@

override_dh_auto_build:
	$(MAKE) $(DOC_TARGETS)

override_dh_install:
	dh_install Makefile *.el usr/share/emacs/site-lisp/speechd-el/
	install speechd-log-extractor \
		debian/$(package)/usr/share/emacs/site-lisp/speechd-el/

override_dh_installdocs:
	dh_installdocs ANNOUNCE NEWS README speechd-speak.pdf
	dh_installdocs -p $(package)-doc-cs

override_dh_installinfo:
	dh_installinfo speechd-el.info*
	dh_installinfo -p $(package)-doc-cs speechd-el.cs.info*