summaryrefslogtreecommitdiff
path: root/t/tags-pr12372.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/tags-pr12372.sh')
-rw-r--r--t/tags-pr12372.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/tags-pr12372.sh b/t/tags-pr12372.sh
index b1b6b6a8d..77475231d 100644
--- a/t/tags-pr12372.sh
+++ b/t/tags-pr12372.sh
@@ -31,7 +31,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
@@ -44,7 +44,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