]> matita.cs.unibo.it Git - helm.git/commitdiff
...
authorEnrico Tassi <enrico.tassi@inria.fr>
Thu, 15 Nov 2007 16:35:08 +0000 (16:35 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Thu, 15 Nov 2007 16:35:08 +0000 (16:35 +0000)
helm/software/pkg-matita/trunk/debian/matita.install
helm/software/pkg-matita/trunk/debian/rules

index b84311f8e2c5241c389ce5a512a4dbe5c0bf71bc..5b4c76d3c9670a13042f689c2baa0fd8f1c7caac 100644 (file)
@@ -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/
index c471b8441bacaffe9feec0d5aa26e9930682aff8..70d063137435e54d007a5bdbbe32068f89b8e01c 100755 (executable)
@@ -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/