[kupfer] help: Convenience makefiles to update translation files or HTML preview



commit 37d1b7f108556b879988976b9c067b47b6be2882
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Tue Mar 30 22:27:50 2010 +0200

    help: Convenience makefiles to update translation files or HTML preview

 help/Makefile    |   16 ++++++++++++++++
 help/Makefile.am |    4 ++--
 2 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/help/Makefile b/help/Makefile
new file mode 100644
index 0000000..2c3140e
--- /dev/null
+++ b/help/Makefile
@@ -0,0 +1,16 @@
+#  This makefile is for convenience.
+#
+#  Run 'make' to build HTML documentation in the C directory
+#  Run 'make $LANG' to update the translation file for language $LANG
+#
+#  To add a new language, edit Makefile.am
+
+include Makefile.am
+
+
+all:
+	make -C C
+
+$(DOC_LINGUAS): C/*.page
+	xml2po -mmallard -u "$@/$  po" C/*.page
+
diff --git a/help/Makefile.am b/help/Makefile.am
index 36b9cb2..c7b442d 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -9,7 +9,7 @@
 #
 
 
-include $(top_srcdir)/gnome-doc-utils.make
+# include $(top_srcdir)/gnome-doc-utils.make
 
 DOC_ID = kupfer
 DOC_INCLUDES =
@@ -26,4 +26,4 @@ DOC_PAGES = \
 DOC_LINGUAS = de
 
 
-dist-hook: doc-dist-hook
+# dist-hook: doc-dist-hook



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