From 93d705041c1c46b21238aabd7e2d3e1111f1725d Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Tue, 25 Jan 2011 15:39:55 +0000 Subject: [PATCH] Makefile: fix locks git-svn-id: svn://kolibrios.org@1767 a494cfbc-eb01-0410-851d-a64ba20cac60 --- data/eng/Makefile.cmm | 4 ++-- data/rus/Makefile.cmm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/eng/Makefile.cmm b/data/eng/Makefile.cmm index f545ce0034..15327b4bce 100644 --- a/data/eng/Makefile.cmm +++ b/data/eng/Makefile.cmm @@ -6,10 +6,10 @@ define cmm_meta_rule $(1): $(2) Makefile.cmm $$(call respace,$$(addsuffix .dir,$(3))) \ $$(wildcard $$(dir $(2))*) $$(wildcard $$(dir $(2))*/*) - flock $$(dir $(2)).lock \ + flock $$(dir $(2)).lock -c '\ win32-c-- $(5) /IP=Z:$$(dir $(2)) Z:$$< >&2 && \ if [ -e $$(basename $$<) ]; then f=$$(basename $$<); else f=$$(basename $$<).com; fi && \ - kpack --nologo $$$$f "$$@" && rm $$$$f + kpack --nologo $$$$f "$$@" && rm $$$$f' endef $(foreach f,$(CMM_PROGRAMS),$(eval $(call cmm_meta_rule,$(fbinary),$(fsource),$(binarydir),$(progname),$(fparam)))) diff --git a/data/rus/Makefile.cmm b/data/rus/Makefile.cmm index f545ce0034..15327b4bce 100644 --- a/data/rus/Makefile.cmm +++ b/data/rus/Makefile.cmm @@ -6,10 +6,10 @@ define cmm_meta_rule $(1): $(2) Makefile.cmm $$(call respace,$$(addsuffix .dir,$(3))) \ $$(wildcard $$(dir $(2))*) $$(wildcard $$(dir $(2))*/*) - flock $$(dir $(2)).lock \ + flock $$(dir $(2)).lock -c '\ win32-c-- $(5) /IP=Z:$$(dir $(2)) Z:$$< >&2 && \ if [ -e $$(basename $$<) ]; then f=$$(basename $$<); else f=$$(basename $$<).com; fi && \ - kpack --nologo $$$$f "$$@" && rm $$$$f + kpack --nologo $$$$f "$$@" && rm $$$$f' endef $(foreach f,$(CMM_PROGRAMS),$(eval $(call cmm_meta_rule,$(fbinary),$(fsource),$(binarydir),$(progname),$(fparam))))