[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-NG] [FYI] tests: fix spurious failure in test on TAGS support
From: |
Stefano Lattarini |
Subject: |
[Automake-NG] [FYI] tests: fix spurious failure in test on TAGS support |
Date: |
Sun, 16 Sep 2012 09:48:29 +0200 |
* t/tags-pr12372.sh (Makefile.am): Use pattern rules rather than
old-fashioned suffix rules.
(sub/Makefile.am): Likewise.
Signed-off-by: Stefano Lattarini <address@hidden>
---
t/tags-pr12372.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/tags-pr12372.sh b/t/tags-pr12372.sh
index 66b40a0..caba463 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
--
1.7.12.317.g1c54b74
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-NG] [FYI] tests: fix spurious failure in test on TAGS support,
Stefano Lattarini <=