]> granicus.if.org Git - php/commitdiff
Move only, if the file exists.
authorSascha Schumann <sas@php.net>
Tue, 9 Nov 1999 18:18:16 +0000 (18:18 +0000)
committerSascha Schumann <sas@php.net>
Tue, 9 Nov 1999 18:18:16 +0000 (18:18 +0000)
build.mk

index 4459a1b31b85e937d5328ff597972526b4b97e52..d63263bdbdfd5309b5c056782521aa2ab905ba76 100644 (file)
--- a/build.mk
+++ b/build.mk
@@ -63,7 +63,7 @@ acconfig.h: $(acconfig_h_SOURCES)
 
 $(makefile_in_files): $(makefile_am_files) aclocal.m4
        @echo rebuilding Makefile.in\'s
-       @for i in $(LT_TARGETS); do mv $$i $$i.bak; done
+       @for i in $(LT_TARGETS); do test -f $$i && mv $$i $$i.bak; done
        @automake -a -i $(AMFLAGS) $(makefile_files) 2>&1 \
                | grep -v PHP_OUTPUT_FILES || true >&2
        @for i in $(LT_TARGETS); do mv $$i.bak $$i; done