build: add extra *.texi files to coreutils_TEXINFOS, not EXTRA_DIST
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 29 Aug 2012 11:55:49 +0000 (13:55 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 30 Aug 2012 13:21:59 +0000 (15:21 +0200)
* doc/Makefile.am (coreutils_TEXINFO): List them here, instead of ...
(EXTRA_DIST): ... listing them here.  This ensures the rebuild rules
will be more faithful.
($(DVIS), $(INFO_DEPS)): No need to depend on $(EXTRA_DIST) now.

doc/Makefile.am

index dea2756..9a50714 100644 (file)
@@ -17,7 +17,7 @@
 
 info_TEXINFOS = coreutils.texi
 
-EXTRA_DIST = perm.texi parse-datetime.texi constants.texi fdl.texi
+coreutils_TEXINFOS = perm.texi parse-datetime.texi constants.texi fdl.texi
 
 # The following is necessary if the package name is 8 characters or longer.
 # If the info documentation would be split into 10 or more separate files,
@@ -40,9 +40,6 @@ constants.texi: $(top_srcdir)/src/tail.c $(top_srcdir)/src/shred.c
 
 MAINTAINERCLEANFILES = constants.texi
 
-$(DVIS): $(EXTRA_DIST)
-$(INFO_DEPS): $(EXTRA_DIST)
-
 # Extended regular expressions to match word starts and ends.
 _W = (^|[^A-Za-z0-9_])
 W_ = ([^A-Za-z0-9_]|$$)