Copy configuration only if neccessary to avoid unneeded rebuilds.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Dec 2010 13:59:02 +0000 (14:59 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Dec 2010 13:59:02 +0000 (14:59 +0100)
Makefile

index a761c34..a0af61d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ clean:
 
 $(TARGETS):
        # Copy our configuration to the gPXE submodule
-       cp -vf config/* gpxe/src/config/local/
+       cp -uvf config/* gpxe/src/config/local/
 
        # Build the image
        make -C gpxe/src EMBEDDED_IMAGE=$(SCRIPTS) $@