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/