* Just for the record: this is what has been used for building.
[ginac.git] / debian / rules
index acaffa985c19b247c61d1ce9cb98453791872539..3a24dd81199d83e622d7e95b37f7dbb5e0c12b0b 100755 (executable)
@@ -32,6 +32,8 @@ binary-arch: build
        $(MAKE) install prefix=`pwd`/debian/tmp/usr infodir=`pwd`/debian/tmp/usr/share/info mandir=`pwd`/debian/tmp/usr/share/man
        # Work around dumb lintian error: binary-without-manpage ginaccint.bin
        (cd `pwd`/debian/tmp/usr/share/man/man1; ln -s ginaccint.1.gz ginaccint.bin.1.gz)
        $(MAKE) install prefix=`pwd`/debian/tmp/usr infodir=`pwd`/debian/tmp/usr/share/info mandir=`pwd`/debian/tmp/usr/share/man
        # Work around dumb lintian error: binary-without-manpage ginaccint.bin
        (cd `pwd`/debian/tmp/usr/share/man/man1; ln -s ginaccint.1.gz ginaccint.bin.1.gz)
+       # Automake generated Makefile.in do install-info, which is bad for us:
+       -rm -f `pwd`/debian/tmp/usr/share/info/dir*
        dh_installdocs ChangeLog NEWS README
        dh_installchangelogs
        dh_installmenu
        dh_installdocs ChangeLog NEWS README
        dh_installchangelogs
        dh_installmenu