[yelp-tools] yelp.m4: Only call mkdir_p once per directory
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-tools] yelp.m4: Only call mkdir_p once per directory
- Date: Tue, 7 Feb 2012 20:52:35 +0000 (UTC)
commit 4e4e036a0e56ff62993267be156b48ad0889bd58
Author: Christian Persch <chpe gnome org>
Date: Tue Feb 7 18:47:48 2012 +0100
yelp.m4: Only call mkdir_p once per directory
tools/yelp.m4 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/yelp.m4 b/tools/yelp.m4
index f7eeb80..370726b 100644
--- a/tools/yelp.m4
+++ b/tools/yelp.m4
@@ -102,8 +102,8 @@ EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(_HELP_LINGUAS),$(wildcard
distdir: distdir-help-files
distdir-help-files:
@for lc in C $(HELP_LINGUAS); do \
+ $(MKDIR_P) "$(distdir)/$$lc"; \
for file in $(HELP_FILES); do \
- $(MKDIR_P) "$(distdir)/$$lc"; \
if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
done; \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]