+ # generate manpages
+ mkdir -p $(DEB_DESTDIR)/usr/share/man/man1/
+ MATITA_RT_BASE_DIR=debian/tmp/usr/share/matita/ \
+ help2man --name="Matita interative theorem prover - batch compiler" -N \
+ $(DEB_DESTDIR)/usr/share/matita/matitac \
+ | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matitac.1.gz
+ MATITA_RT_BASE_DIR=debian/tmp/usr/share/matita/ \
+ help2man --name="Matita interative theorem prover - build tool" -N \
+ $(DEB_DESTDIR)/usr/share/matita/matitamake \
+ | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matitamake.1.gz
+ MATITA_RT_BASE_DIR=debian/tmp/usr/share/matita/ \
+ help2man --name="Matita interative theorem prover - cleanup tool" -N \
+ $(DEB_DESTDIR)/usr/share/matita/matitaclean \
+ | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matitaclean.1.gz
+ MATITA_RT_BASE_DIR=debian/tmp/usr/share/matita/ \
+ help2man --name="Matita interative theorem prover - dependency analyzer" -N \
+ $(DEB_DESTDIR)/usr/share/matita/matitadep \
+ | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matitadep.1.gz
+ if [ -e $(DEB_DESTDIR)/usr/share/matita/matitac.opt ]; then\
+ ln -s /usr/share/man/man1/matitac.1.gz \
+ $(DEB_DESTDIR)/usr/share/man/man1/`basename $$P`.1.gz;\
+ fi
+ # install .opt .byte (symlinks are installed with .install
+ mkdir -p debian/matita/usr/bin/
+ cp matita/matita.byte debian/matita/usr/bin/ || true
+ cp matita/matitac.byte debian/matita/usr/bin/ || true
+ cp matita/matita.opt debian/matita/usr/bin/ || true
+ cp matita/matitac.opt debian/matita/usr/bin/ || true
+