3 # Uncomment this to turn on verbose mode.
8 PACKAGE_DOC := $(shell dpkg-parsechangelog | sed -r 's/^Source: //; t; d')
9 INSTDIR_DOC := debian/$(PACKAGE_DOC)
15 build: build-indep build-arch
20 rm -f build-indep-stamp build-arch-stamp
23 install-indep: build-indep
30 install-arch: build-arch
32 binary-indep: build-indep install-indep
35 dh_installchangelogs -i
37 # remove empty images and TeX droppings
38 find $(INSTDIR_DOC)/usr/share/doc/$(PACKAGE_DOC) \
39 -name '*.png' -size 0 \
40 -o -name '*.aux' -o -name '*.idx' -o -name '*.log' \
41 -o -name '*.out' -o -name '*.pl' -o -name WARNINGS \
51 binary-arch: build-arch install-arch
53 binary: binary-indep binary-arch
56 uscan --force-download
58 .PHONY: build-indep build-arch build clean binary-indep binary-arch binary \
59 install-indep install-arch get-orig-source