summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2006-09-28 02:31:30 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2006-09-28 02:31:30 +0000
commit30ac3cc51d04eb1d03c2cd27512516a3411840c4 (patch)
tree5d83a3fc33d8fdaa9210d99504f68914337f80f5 /tests
parent1fdb061d00620e4be2efaabb63e6d9140e2e3e92 (diff)
downloadlibgphoto2-30ac3cc51d04eb1d03c2cd27512516a3411840c4.tar.gz
get rid of a few GNU-make-isms (% rules)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9219 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/ddb/Makefile.am8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 193203d8a..cfedd8f5b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -64,7 +64,7 @@ clean-local:
rm -rf _inst
rm -f _camlibs
-%.sh: %.in
+.in.sh:
@echo "Creating $@"
@sed \
-e 's|@top_builddir\@|$(top_builddir)|g' \
diff --git a/tests/ddb/Makefile.am b/tests/ddb/Makefile.am
index 6bbdf3766..ca9133d54 100644
--- a/tests/ddb/Makefile.am
+++ b/tests/ddb/Makefile.am
@@ -53,18 +53,18 @@ test_ddb_LDADD = \
$(LIBEXIF_LIBS) \
$(INTLLIBS)
-%.yy.c: %.l %.tab.h
+ddb-txt.yy.c: ddb-txt.l ddb-txt.tab.h
$(FLEX) -o$@ $<
-%.tab.h: %.tab.c
-%.tab.c %.tab.h: %.y
+ddb-txt.tab.h: ddb-txt.tab.c
+ddb-txt.tab.c ddb-txt.tab.h: ddb-txt.y
$(BISON) -v $<
#endif
clean-local:
rm -f *.s *.i
-%.sh: %.in
+.in.sh:
@echo "Creating $@"
@sed \
-e 's|@top_builddir\@|$(top_builddir)|g' \