]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Remove -C flag from install command
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 29 Jul 2010 21:06:07 +0000 (23:06 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 29 Jul 2010 21:06:07 +0000 (23:06 +0200)
This flag is now useless, as the comparison must be (and is) done
before calling install. The -C flag was not available in older
versions of install (e.g. on Debian Lenny) so this change allows OMK
to be run on older systems.

snippets/include.omk

index 36dc5a42744e8625dbbd3c03596617d7882a4bc0..5ac92aa1b25ffdc4ef9e902cc0313efcec9e8c7b 100644 (file)
@@ -8,7 +8,7 @@ ifneq ($(LN_HEADERS),y)
 define cp_cmd
 if ! cmp --quiet $(1) $(2); then \
     echo "  CP      $(1:$(OUTPUT_DIR)/%=%) -> $(2:$(OUTPUT_DIR)/%=%)"; \
-    install -C -D $(CPHEADER_FLAGS) $(1) $(2) || exit 1; \
+    install -D $(CPHEADER_FLAGS) $(1) $(2) || exit 1; \
 fi
 endef
 else