usr/share/matita/*.templ
usr/share/matita/matita usr/bin/
usr/share/matita/matitac usr/bin/
-usr/share/matita/matita.opt usr/bin/
-usr/share/matita/matitac.opt usr/bin/
usr/share/matita/matitamake usr/bin/
usr/share/matita/matitadep usr/bin/
usr/share/matita/matitaclean usr/bin/
--with-dbhost=FAKE_HOST
DEB_DESTDIR := debian/tmp/
DEB_DH_INSTALL_SOURCEDIR := $(DEB_DESTDIR)
+# don't perform regular installation
DEB_MAKE_INSTALL_TARGET :=
+
common-install-arch::
+ # install matita
make install-arch DESTDIR=$(DEB_DESTDIR)
+ # generate manpages
mkdir -p $(DEB_DESTDIR)/usr/share/man/man1/
help2man --name="Matita interative theorem prover" -N \
$(DEB_DESTDIR)/usr/share/matita/matita \
$(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/
+ cp matita/matita.byte debian/matita/usr/bin/ || true
+ cp matita/matitac.byte debian/matita/usr/bin/ || true
+ cp matita/matita.opt debian/matita/usr/bin/ || true
+ cp matita/matitac.opt debian/matita/usr/bin/ || true
+
common-install-indep::
+ # install matita library
make install-indep DESTDIR=$(DEB_DESTDIR)
+ # innerypes removal
find $(DEB_DESTDIR) -name \*.xml.types.gz -exec rm {} \;