X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=pkg-matita%2Ftrunk%2Fdebian%2Frules;h=c471b8441bacaffe9feec0d5aa26e9930682aff8;hb=0024b019fcb44f72d7bddd9d887ec2e5d0401bd7;hp=b6ea51a22dc74e224dc3cce8e908ce858432b503;hpb=2b531ee44f25ee56565bf288e4a60db560264213;p=helm.git diff --git a/pkg-matita/trunk/debian/rules b/pkg-matita/trunk/debian/rules index b6ea51a22..c471b8441 100755 --- a/pkg-matita/trunk/debian/rules +++ b/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 {} \;