| 1 |
#!/usr/bin/make -f |
| 2 |
# Uncomment this to turn on verbose mode. |
| 3 |
#export DH_VERBOSE=1 |
| 4 |
|
| 5 |
CONFIGURE_OPTS = --prefix=/usr --with-dicdir=/usr/share/mecab/dic/naist-jdic-eucjp |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ |
| 9 |
|
| 10 |
override_dh_clean: |
| 11 |
-rm $(CURDIR)/{config.log,config.status,*.dic,*.bin,ChangeLog.orig} |
| 12 |
dh_clean |
| 13 |
|
| 14 |
override_dh_auto_configure: |
| 15 |
dh_auto_configure -- $(CONFIGURE_OPTS) |
| 16 |
|
| 17 |
override_dh_install: |
| 18 |
dh_install -i |
| 19 |
mv $(CURDIR)/ChangeLog $(CURDIR)/ChangeLog.orig |
| 20 |
rm $(CURDIR)/debian/tmp/usr/share/mecab/dic/naist-jdic-eucjp/*.dic |
| 21 |
rm -r $(CURDIR)/debian/tmp/etc/mecab/dic |
| 22 |
|
| 23 |
override_dh_installchangelogs: |
| 24 |
dh_installchangelogs NEWS |
| 25 |
|
| 26 |
override_dh_builddeb: |
| 27 |
dh_builddeb -- -Zxz -Sextreme |