[ekiga/gnome-2-26] [windows] Fix my previous commit on help localisation



commit 7735c2e1e9f2048af3f7c79e3e08f97912fe8dcf
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Thu May 27 13:58:09 2010 +0200

    [windows] Fix my previous commit on help localisation

 win32/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/win32/Makefile b/win32/Makefile
index ac659a7..be8d1e7 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -764,9 +764,10 @@ endif
 	# we cannot strip MS compiled dlls
 	install -m 755 $(LIBSASL2_DIR)/bin/libsasl.dll $(EKIGA_PREFIX)
 
+	# for RELEASE=0 ekiga.xml files do not exist, so create them
 	for lc in C $(DOC_LINGUAS); do \
 		mkdir -p $(EKIGA_PREFIX)/help/$$lc; \
-		test $$lc != "C" && xml2po -m docbook -e -p $(EKIGA_DIR)/help/$$lc/$$lc.po $(EKIGA_DIR)/help/C/ekiga.xml >$(EKIGA_DIR)/help/$$lc/ekiga.xml ; \
+		test $$lc != "C" -a ! -f $(EKIGA_DIR)/help/$$lc/ekiga.xml && xml2po -m docbook -e -p $(EKIGA_DIR)/help/$$lc/$$lc.po $(EKIGA_DIR)/help/C/ekiga.xml >$(EKIGA_DIR)/help/$$lc/ekiga.xml ; \
 		if test -f $(EKIGA_DIR)/help/$$lc/ekiga.xml; then \
 			xmlto -o $(EKIGA_PREFIX)/help/$$lc/ --skip-validation html $(EKIGA_DIR)/help/$$lc/ekiga.xml; \
 		fi ;\



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