From: Michal Sojka Date: Thu, 29 Jul 2010 21:06:07 +0000 (+0200) Subject: Remove -C flag from install command X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk.git/commitdiff_plain/4db4be7689849705ba54c4aa500d6914e48ebc70 Remove -C flag from install command 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. --- diff --git a/snippets/include.omk b/snippets/include.omk index 36dc5a4..5ac92aa 100644 --- a/snippets/include.omk +++ b/snippets/include.omk @@ -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