From: Enrico Tassi Date: Thu, 15 Nov 2007 16:35:08 +0000 (+0000) Subject: ... X-Git-Tag: make_still_working~5833 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=552a426a7d176268477136772397001918ac9f2c;p=helm.git ... --- diff --git a/helm/software/pkg-matita/trunk/debian/matita.install b/helm/software/pkg-matita/trunk/debian/matita.install index b84311f8e..5b4c76d3c 100644 --- a/helm/software/pkg-matita/trunk/debian/matita.install +++ b/helm/software/pkg-matita/trunk/debian/matita.install @@ -13,3 +13,4 @@ usr/share/matita/matitac usr/bin/ usr/share/matita/matitamake usr/bin/ usr/share/matita/matitadep usr/bin/ usr/share/matita/matitaclean usr/bin/ +usr/share/man/* usr/share/man/ diff --git a/helm/software/pkg-matita/trunk/debian/rules b/helm/software/pkg-matita/trunk/debian/rules index c471b8441..70d063137 100755 --- a/helm/software/pkg-matita/trunk/debian/rules +++ b/helm/software/pkg-matita/trunk/debian/rules @@ -19,26 +19,31 @@ common-install-arch:: make install-arch DESTDIR=$(DEB_DESTDIR) # 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" -N \ $(DEB_DESTDIR)/usr/share/matita/matita \ | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matita.1.gz + 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/matita.opt ]; then\ for P in $(DEB_DESTDIR)/usr/share/matita/*.opt; do\ - ln -s /usr/share/man/man1/$(basename $$P .opt).1.gz \ - $(DEB_DESTDIR)/usr/share/man/man1/$(basename $$P).1.gz\ - done\ + ln -s /usr/share/man/man1/`basename $$P .opt`.1.gz \ + $(DEB_DESTDIR)/usr/share/man/man1/`basename $$P`.1.gz;\ + done;\ fi # install .opt .byte (symlinks are installed with .install mkdir -p debian/matita/usr/bin/