From 3d6f9b133e2baa79a8fd220a4ced816ea044a92c Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Thu, 15 Nov 2007 13:22:13 +0000 Subject: [PATCH] added manpages --- helm/software/pkg-matita/trunk/debian/rules | 25 +++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/helm/software/pkg-matita/trunk/debian/rules b/helm/software/pkg-matita/trunk/debian/rules index c97d080d9..24f32a6a5 100755 --- a/helm/software/pkg-matita/trunk/debian/rules +++ b/helm/software/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 {} \; -- 2.39.2