File: rules

package info (click to toggle)
mecab-naist-jdic 0.6.3.b-20111013-7
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 81,184 kB
  • ctags: 22
  • sloc: sh: 3,207; makefile: 36
file content (27 lines) | stat: -rwxr-xr-x 656 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

CONFIGURE_OPTS = --prefix=/usr --with-dicdir=/usr/share/mecab/dic/naist-jdic-eucjp

%:
	dh $@

override_dh_clean:
	-rm $(CURDIR)/{config.log,config.status,*.dic,*.bin,ChangeLog.orig}
	dh_clean 

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_OPTS)

override_dh_install:
	dh_install -i
	mv $(CURDIR)/ChangeLog $(CURDIR)/ChangeLog.orig
	rm $(CURDIR)/debian/tmp/usr/share/mecab/dic/naist-jdic-eucjp/*.dic
	rm -r $(CURDIR)/debian/tmp/etc/mecab/dic

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_builddeb:
	dh_builddeb -- -Zxz -Sextreme