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 28
|
#!/usr/bin/make -f
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
export CC = $(DEB_HOST_GNU_TYPE)-g++
%:
dh $@ --parallel
override_dh_auto_clean:
-rm -rf Makefile html2text *.o configure-tmp Dependencies debian/tests/*.result debian/html2textrc.5
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd debian/tests/ && sh runtests
endif
override_dh_installman:
# darn, patch those typos (bug #309887 here)
zcat html2textrc.5.gz | sed \
"s/specifiy/specify/; s/elemet/element/; s/who's/whose/" \
> debian/html2textrc.5
dh_installman
override_dh_auto_install:
# do nothing
|