From: Enrico Tassi Date: Thu, 15 Nov 2007 13:22:13 +0000 (+0000) Subject: added manpages X-Git-Tag: 0.4.96@7881~19 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=e8e4a4f0786b0c8557d6f10a9ffdeff17e951b14;p=helm.git added manpages --- diff --git a/pkg-matita/trunk/debian/rules b/pkg-matita/trunk/debian/rules index c97d080d9..24f32a6a5 100755 --- a/pkg-matita/trunk/debian/rules +++ b/pkg-matita/trunk/debian/rules @@ -14,6 +14,31 @@ DEB_DH_INSTALL_SOURCEDIR := $(DEB_DESTDIR) 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 {} \;