summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2001-01-25 22:08:11 +0000
committerTor Lillqvist <tml@src.gnome.org>2001-01-25 22:08:11 +0000
commit388454cc3bbbe79e7e07d3ba1efc1de2d7126206 (patch)
tree7dccab14dd622a96c7021cdd690cd2a832e5fb17 /tests
parent20c9c609502314a807aec513a233d85474604d42 (diff)
downloadglib-388454cc3bbbe79e7e07d3ba1efc1de2d7126206.tar.gz
makefile.mingw.in Protect the rule to rebuild makefile.mingw if
2001-01-25 Tor Lillqvist <tml@iki.fi> * makefile.mingw.in * */makefile.mingw.in: Protect the rule to rebuild makefile.mingw if makefile.mingw.in has changed with a check if said .in file exists. (This rule is mainly a convenience for yours truly.)
Diffstat (limited to 'tests')
-rw-r--r--tests/makefile.mingw.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/makefile.mingw.in b/tests/makefile.mingw.in
index 090c3af46..7d6f7f828 100644
--- a/tests/makefile.mingw.in
+++ b/tests/makefile.mingw.in
@@ -41,9 +41,11 @@ TESTS = \
all: $(TESTS)
+ifeq ($(wildcard makefile.mingw.in),makefile.mingw.in)
makefile.mingw: makefile.mingw.in
sed -e 's,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@,' \
-e 's,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@,' <$< >$@
+endif
.SUFFIXES: .c .exe