[gnome-doc-utils] [gnome-doc-utils.make] Fixed error for missing directory for mo files



commit ce05d9fdadfc227cad82450623a0616a2a3db84b
Author: Shaun McCance <shaunm gnome org>
Date:   Mon Nov 16 14:21:45 2009 -0600

    [gnome-doc-utils.make] Fixed error for missing directory for mo files

 tools/gnome-doc-utils.make |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tools/gnome-doc-utils.make b/tools/gnome-doc-utils.make
index ac47130..97fd549 100644
--- a/tools/gnome-doc-utils.make
+++ b/tools/gnome-doc-utils.make
@@ -340,6 +340,10 @@ $(_DOC_POFILES):
 	fi
 
 $(_DOC_MOFILES): %.mo: %.po
+	@if ! test -d $(dir $@); then \
+	  echo "mkdir $(dir $@)"; \
+	  mkdir "$(dir $@)"; \
+	fi
 	msgfmt -o $@ $<
 
 # FIXME: fix the dependancy



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]