File: rules

package info (click to toggle)
open-jtalk 1.07-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 71,664 kB
  • ctags: 2,967
  • sloc: cpp: 164,737; ansic: 16,102; sh: 3,821; makefile: 277
file content (25 lines) | stat: -rwxr-xr-x 718 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
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@ --with autoreconf

open_jtalk.1:
	docbook-to-man $(CURDIR)/debian/open_jtalk.sgml > $(CURDIR)/debian/open_jtalk.1

override_dh_auto_build: open_jtalk.1
	dh_auto_build

override_dh_auto_configure:
	dh_auto_configure -- --with-charset=utf8 --with-hts-engine-header-path=/usr/include --with-hts-engine-library-path=/usr/lib/$(DEB_HOST_MULTIARCH)

override_dh_auto_clean:
	dh_auto_clean
	rm -rf $(CURDIR)/debian/open_jtalk.1 \
	       $(CURDIR)/mecab-naist-jdic/char.bin \
	       $(CURDIR)/mecab-naist-jdic/matrix.bin \
	       $(CURDIR)/mecab-naist-jdic/sys.dic \
	       $(CURDIR)/mecab-naist-jdic/unk.dic