X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Frules;h=3e0aa21e088f0ec2ac6fd7870ec941048aa00544;hb=9126617134f2626df05974b59d78451a7dfc8cc9;hp=a861e1a1b5d1169391860fd8b70ecf227a4d82d7;hpb=1bf715bcb856a67b7562ca9009a6405346603f83;p=deb_pkgs%2Fscowl.git diff --git a/debian/rules b/debian/rules index a861e1a..3e0aa21 100755 --- a/debian/rules +++ b/debian/rules @@ -40,7 +40,7 @@ include /usr/share/dpkg/pkg-info.mk %: dh $@ -build: +override_dh_auto_build: set -e;\ for SPELLING in $(SPELLINGS); do\ for SIZE in $(SIZES); do\ @@ -111,13 +111,10 @@ override_dh_auto_clean: INSTALL_WORDLISTS=$(patsubst %-"",%,$(foreach spelling,$(SPELLINGS),$(foreach size,$(SIZES),install-w$(spelling)-$(size)))) -override_dh_auto_install: install build - -override_dh_auto_build: - -install: build install-scowl $(INSTALL_WORDLISTS) +override_dh_auto_install: install-scowl install-hunspell $(INSTALL_WORDLISTS) installdeb-wordlist -pwamerican --noscripts - installdeb-wordlist --no-package=wamerican --no-package=scowl + installdeb-wordlist --no-package=wamerican --no-package=scowl --no-package=hunspell-en-us --no-package=hunspell-en-au --no-package=hunspell-en-ca + installdeb-hunspell -phunspell-en-ca -phunspell-en-au -phunspell-en-us install-scowl: dh_installdirs --package=scowl @@ -135,7 +132,7 @@ override_dh_auto_test: override_dh_gencontrol: dh_gencontrol -Nhunspell-en-us -Nhunspell-en-au -Nhunspell-en-ca - dh_gencontrol -phunspell-en-us -phunspell-en-au -phunspell-en-ca -- -v1:$(DEB_VERSION_UPSTREAM) + dh_gencontrol -phunspell-en-us -phunspell-en-au -phunspell-en-ca -- -v1:$(DEB_VERSION) WORDLIST=$(shell echo $(*)|sed -re 's/^w([a-z]*)(-*[a-z]*)/\1-english\2/')