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
|
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/quilt/quilt.make
PACKAGE=festvox-suopuhe-lj
COMMON=festvox-suopuhe-common
ORIGNAME=suo_fi_lj_diphone
build: patch
# Nothing to do.
build-arch: build
build-indep: build
clean: unpatch
dh_testdir
dh_testroot
dh_clean
# Build architecture-dependent files here.
binary-arch: build
# We have nothing to do.
# Build architecture-independent files here.
binary-indep: build
dh_testdir
dh_testroot
dh_installdirs -p ${PACKAGE} usr/share/festival/voices/finnish/${ORIGNAME}/group
# "search-for-voices" in /usr/share/festival/voices.scm ignores directories containing '.'
dh_installdirs -p ${COMMON} usr/share/festival/voices/finnish/suopuhe.common
dh_install -p ${PACKAGE}
dh_install -p ${COMMON}
dh_link -p ${PACKAGE} usr/share/festival/voices/finnish/suopuhe.common \
usr/share/festival/voices/finnish/${ORIGNAME}/festvox
dh_installdocs -p ${PACKAGE}
dh_installdocs -p ${COMMON}
# recode the upstream README into UTF-8
iconv -f ISO-8859-1 -t UTF-8 \
lib/voices/finnish/suo_fi_lj_diphone/README.lj \
-o debian/${COMMON}/usr/share/doc/festvox-suopuhe-common/README.lj
dh_installchangelogs
dh_compress
dh_fixperms
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary
|