[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fix distcheck

From: Ben Pfaff
Subject: fix distcheck
Date: Sat, 24 Feb 2007 09:37:45 -0800
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

"make distcheck" currently fails because doc/ni.texi is not
distributed, which forces the Info documentation to be remade.
But that's not supposed to happen: we shouldn't require it to be
remade if the user doesn't change it, and in fact the distcheck
target enforces that by making the source directory read-only.

The patch below fixes it.  The important part is moving ni.texi
from nodist_doc_pspp_TEXINFOS to doc_pspp_TEXINFOS.  The deletion
of "am__TEXINFO_TEX_DIR=./doc" is unnecessary to fix the problem,
but I couldn't figure out what it was actually doing and it's not
in the change log or the CVS log.

OK to check in?

Index: doc/
RCS file: /cvsroot/pspp/pspp/doc/,v
retrieving revision 1.3
diff -u -p -r1.3
--- doc/     15 Jul 2006 04:38:57 -0000      1.3
+++ doc/     24 Feb 2007 16:59:19 -0000
@@ -19,6 +19,7 @@ doc_pspp_TEXINFOS = doc/version.texi \
        doc/invoking.texi \
        doc/language.texi \
        doc/license.texi \
+       doc/ni.texi \
        doc/not-implemented.texi \
        doc/portable-file-format.texi \
        doc/q2c.texi \
@@ -29,22 +30,10 @@ doc_pspp_TEXINFOS = doc/version.texi \
        doc/variables.texi \
-nodist_doc_pspp_TEXINFOS = doc/ni.texi
 EXTRA_DIST += doc/ \
        doc/ \
-# Kludge to get around automake deficiency.
 doc/ni.texi: $(top_srcdir)/src/language/command.def doc/
        @$(top_srcdir)/mkinstalldirs  doc
        @PERL@ $(top_srcdir)/doc/ 
$(top_srcdir)/src/language/command.def > $@
-$(INFO_DEPS): doc/ni.texi
-$(HTML_DEPS): doc/ni.texi
-CLEANFILES += doc/ni.texi

"J'avais trouv'e ma religion :
 rien ne me parut plus important qu'un livre.
 La biblioth`eque, j'y voyais un temple."
--Jean-Paul Sartre

reply via email to

[Prev in Thread] Current Thread [Next in Thread]