| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
# Uncomment this to turn on verbose mode. |
| 5 |
#export DH_VERBOSE=1 |
| 6 |
|
| 7 |
|
| 8 |
DEB_DESTDIR = debian/aspell-cs |
| 9 |
DICT_LANG = cs |
| 10 |
|
| 11 |
config.status: configure |
| 12 |
dh_testdir |
| 13 |
|
| 14 |
build: build-stamp |
| 15 |
build-arch: build-stamp |
| 16 |
build-indep: build-stamp |
| 17 |
|
| 18 |
build-stamp: config.status |
| 19 |
dh_testdir |
| 20 |
|
| 21 |
touch build-stamp |
| 22 |
|
| 23 |
clean: |
| 24 |
dh_testdir |
| 25 |
dh_testroot |
| 26 |
rm -f build-stamp |
| 27 |
|
| 28 |
dh_clean --exclude ./doc/README.orig |
| 29 |
|
| 30 |
install: build |
| 31 |
dh_testdir |
| 32 |
dh_testroot |
| 33 |
dh_clean -k --exclude ./doc/README.orig |
| 34 |
dh_installdirs |
| 35 |
dh_install |
| 36 |
for f in *.cwl; do \ |
| 37 |
gzip -9 -c "$$f" > "$(DEB_DESTDIR)/usr/share/aspell/"$$f".gz"; \ |
| 38 |
WL=`echo $$f | sed 's/\.cwl$$//'`; \ |
| 39 |
echo "$$WL" >> "$(DEB_DESTDIR)/usr/share/aspell/$(DICT_LANG).contents"; \ |
| 40 |
done |
| 41 |
|
| 42 |
installdeb-aspell |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
# Build architecture-independent files here. |
| 47 |
binary-indep: build install |
| 48 |
dh_testdir |
| 49 |
dh_testroot |
| 50 |
dh_installchangelogs |
| 51 |
dh_installdocs |
| 52 |
dh_installexamples |
| 53 |
# dh_install |
| 54 |
# dh_installpam |
| 55 |
# dh_installmime |
| 56 |
# dh_installinfo |
| 57 |
dh_installman |
| 58 |
dh_link |
| 59 |
dh_strip |
| 60 |
dh_compress |
| 61 |
dh_fixperms |
| 62 |
# dh_makeshlibs |
| 63 |
dh_installdeb |
| 64 |
dh_shlibdeps |
| 65 |
dh_gencontrol |
| 66 |
dh_md5sums |
| 67 |
dh_builddeb |
| 68 |
|
| 69 |
# Build architecture-dependent files here. |
| 70 |
binary-arch: build install |
| 71 |
|
| 72 |
binary: binary-indep binary-arch |
| 73 |
.PHONY: build clean binary-indep binary-arch binary install |