PACKAGE := ion3
PACKAGE_DEV := $(PACKAGE)-dev
+PACKAGE_DOC := $(PACKAGE)-doc
INSTDIR := debian/$(PACKAGE)
INSTDIR_DEV := debian/$(PACKAGE_DEV)
+INSTDIR_DOC := debian/$(PACKAGE_DOC)
doc-orig:
cp -R doc doc-orig
dh_installchangelogs -i
dh_installdocs -i
+# remove empty images and TeX droppings
+ find $(INSTDIR_DOC)/usr/share/doc/$(PACKAGE_DOC) \
+ -name '*.png' -size 0 \
+ -o -name '*.aux' -o -name '*.idx' -o -name '*.log' \
+ -o -name '*.out' -o -name '*.pl' -o -name WARNINGS \
+ | xargs rm --
# dh_installexamples -i
# dh_install -i