From: Stefano Lattarini Date: Sun, 16 Sep 2012 07:47:19 +0000 (+0200) Subject: tests: fix spurious failure in test on TAGS support X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1dbf0e9d3b2c3e2452b6f0d4937f5251f246fb3;p=thirdparty%2Fautomake.git tests: fix spurious failure in test on TAGS support * t/tags-pr12372.sh (Makefile.am): Use pattern rules rather than old-fashioned suffix rules. (sub/Makefile.am): Likewise. Signed-off-by: Stefano Lattarini --- diff --git a/t/tags-pr12372.sh b/t/tags-pr12372.sh index 66b40a096..caba463bf 100755 --- a/t/tags-pr12372.sh +++ b/t/tags-pr12372.sh @@ -28,7 +28,7 @@ END cat > Makefile.am <<'END' all-local: tags -.pc.o: +%.o: %.pc sed -e 's/\[/{/' -e 's/\]/}/' $(srcdir)/$*.pc >$*.c $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c $*.c rm -f $*.c @@ -42,7 +42,7 @@ END mkdir sub cat > sub/Makefile.am <<'END' all-local: tags -.pc.o: +%.o: %.pc sed -e 's/@/a/g' $(srcdir)/$*.pc >$*.c $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c $*.c rm -f $*.c