Index: awklib/Makefile.am =================================================================== RCS file: /sources/gawk/gawk-stable/awklib/Makefile.am,v retrieving revision 1.2 diff -u -r1.2 Makefile.am --- awklib/Makefile.am 11 Aug 2006 13:14:35 -0000 1.2 +++ awklib/Makefile.am 3 Dec 2006 09:27:12 -0000 @@ -55,11 +55,13 @@ rm -f $(AUXAWK) igawk *.exe stamp-eg: $(srcdir)/../doc/gawk.texi $(srcdir)/../doc/gawkinet.texi - mv eg eg.old - rm -fr stamp-eg - $(AWK) -f $(srcdir)/extract.awk $(srcdir)/../doc/gawk.texi $(srcdir)/../doc/gawkinet.texi - @echo 'some makes are stupid and will not check a directory' > stamp-eg - @echo 'against a file, so this file is a place holder. gack.' >> stamp-eg + cd $(srcdir) && \ + mv eg eg.old && \ + rm -fr stamp-eg && \ + $(AWK) -f extract.awk ../doc/gawk.texi ../doc/gawkinet.texi + @echo 'some makes are stupid and will not check a directory' > $(srcdir)/stamp-eg + @echo 'against a file, so this file is a place holder. gack.' >> $(srcdir)/stamp-eg + cd $(srcdir) && \ if [ -d eg.old ] && [ -d eg.old/CVS ] ; then \ mv eg.old/CVS eg ; \ mv eg.old/data/CVS eg/data ; \ Index: test/Makefile.am =================================================================== RCS file: /sources/gawk/gawk-stable/test/Makefile.am,v retrieving revision 1.3 diff -u -r1.3 Makefile.am --- test/Makefile.am 5 Sep 2006 23:10:55 -0000 1.3 +++ test/Makefile.am 3 Dec 2006 09:28:04 -0000 @@ -1,7 +1,7 @@ # # test/Makefile.am --- automake input file for gawk # -# Copyright (C) 1988-2005 the Free Software Foundation, Inc. +# Copyright (C) 1988-2006 the Free Software Foundation, Inc. # # This file is part of GAWK, the GNU implementation of the # AWK Programming Language. @@ -1025,7 +1031,8 @@ include Maketests $(srcdir)/Maketests: $(srcdir)/Makefile.am $(srcdir)/Gentests - $(AWK) -f $(srcdir)/Gentests "$(srcdir)/Makefile.am" *.awk *.in > $(srcdir)/Maketests + files=`cd "$(srcdir)" && echo *.awk *.in`; \ + $(AWK) -f $(srcdir)/Gentests "$(srcdir)/Makefile.am" $$files > $(srcdir)/Maketests clean: rm -fr _* core core.* junk out1 out2 out3 strftime.ok test1 test2 seq *~