testsuite: distributed depending on non-distributed

Ralf Wildenhues <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Organization Department of Numerical Simulation, University of Bonn
Message-ID <[email protected]>
This change, presumably from a couple of days ago, looks wrong, and
breaks distcheck: a distributed file may not depend on a non distributed
file.  Distributed files should be updated in the source tree.  (These
rules help those that don't want to go crazy with portable make.)

distcheck catches this as it fails when trying to update `testsuite' in
the read-only source tree.

Cheers,
Ralf

Index: Makefile.am
===================================================================
RCS file: /cvsroot/m4/m4/Makefile.am,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- Makefile.am 27 Jul 2006 22:34:55 -0000      1.42
+++ Makefile.am 5 Sep 2006 23:16:39 -0000       1.43
@@ -389,7 +389,7 @@

 AUTOM4TE = autom4te
 AUTOTEST = $(AUTOM4TE) --language=autotest
-$(TESTSUITE): tests/package.m4 $(TESTSUITE_AT)
+$(TESTSUITE): tests/package.m4 $(TESTSUITE_AT) tests/m4
 	$(AUTOTEST) -I '$(srcdir)/tests' -o [email protected] [email protected]
 	mv [email protected] $@
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.