debian/rules: Remove `/usr/share/info/dir.gz'.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 31 May 2010 23:00:23 +0000 (00:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 31 May 2010 23:09:51 +0000 (00:09 +0100)
The switch to GNU `install-info' from the dpkg version means that we
generate a (largely bogus) `dir.gz' file.  This gets picked up by
`update-info-dir' and we lose the original `dir'.  This in turn is a
hopeless bummer because Emacs doesn't look for a `dir.gz' file, only an
uncompressed `dir', and can't find any Info documents as a result.

So terminate the offending file with extreme prejudice in the nick of
time.

debian/rules

index da79b9e..21eca79 100755 (executable)
@@ -5,3 +5,6 @@ include $(CDBS)/rules/debhelper.mk
 include $(CDBS)/class/autotools.mk
 
 DEB_BUILDDIR = build
+
+install/cfd::
+       rm -f debian/cfd/usr/share/info/dir