From: Enrico Tassi Date: Thu, 15 Nov 2007 15:27:54 +0000 (+0000) Subject: ... X-Git-Tag: make_still_working~5835 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=018d4ce4a38dd40fd03a9125a65418da7e56c89c;p=helm.git ... --- diff --git a/helm/software/pkg-matita/trunk/debian/matita.install b/helm/software/pkg-matita/trunk/debian/matita.install index 0589bcc47..b84311f8e 100644 --- a/helm/software/pkg-matita/trunk/debian/matita.install +++ b/helm/software/pkg-matita/trunk/debian/matita.install @@ -10,8 +10,6 @@ usr/share/matita/*.moo 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/ diff --git a/helm/software/pkg-matita/trunk/debian/rules b/helm/software/pkg-matita/trunk/debian/rules index b6ea51a22..c471b8441 100755 --- a/helm/software/pkg-matita/trunk/debian/rules +++ b/helm/software/pkg-matita/trunk/debian/rules @@ -11,9 +11,13 @@ DEB_CONFIGURE_EXTRA_FLAGS := \ --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 \ @@ -36,6 +40,15 @@ common-install-arch:: $(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 {} \;