DEB_MAKE_INSTALL_TARGET :=
common-install-arch::
make install-arch DESTDIR=$(DEB_DESTDIR)
+ mkdir -p $(DEB_DESTDIR)/usr/share/man/man1/
+ help2man --name="Matita interative theorem prover" -N \
+ $(DEB_DESTDIR)/usr/bin/matita \
+ | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matita.1.gz
+ help2man --name="Matita interative theorem prover - batch compiler" -N \
+ $(DEB_DESTDIR)/usr/bin/matitac \
+ | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matitac.1.gz
+ help2man --name="Matita interative theorem prover - build tool" -N \
+ $(DEB_DESTDIR)/usr/bin/matitamake \
+ | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matitamake.1.gz
+ help2man --name="Matita interative theorem prover - cleanup tool" -N \
+ $(DEB_DESTDIR)/usr/bin/matitaclean \
+ | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matitaclean.1.gz
+ help2man --name="Matita interative theorem prover - CIC browser" -N \
+ $(DEB_DESTDIR)/usr/bin/cicbrowser \
+ | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/cicbrowser.1.gz
+ help2man --name="Matita interative theorem prover - dependency analyzer" -N \
+ $(DEB_DESTDIR)/usr/bin/matitadep \
+ | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matitadep.1.gz
+ if [ -e $(DEB_DESTDIR)/usr/bin/matita.opt ]; then\
+ for P in $(DEB_DESTDIR)/usr/bin/*.opt; do\
+ ln -s /usr/share/man/man1/$(basename $$P .opt).1.gz \
+ $(DEB_DESTDIR)/usr/share/man/man1/$(basename $$P).1.gz\
+ done\
+ fi
common-install-indep::
make install-indep DESTDIR=$(DEB_DESTDIR)
find $(DEB_DESTDIR) -name \*.xml.types.gz -exec rm {} \;