[gtkmm-documentation] Create output subdirectories automatically



commit 2e90640d4649066d67688325819216d5c2d15e06
Author: Daniel Elstner <daniel kitta gmail com>
Date:   Sat Oct 3 07:12:24 2009 +0200

    Create output subdirectories automatically
    
    * docs/tutorial/Makefile.am (all-local): Prepend the $(DOC_LINGUAS)
    directories to the list of prerequisites.
    ($(DOC_LINGUAS)): New rule to create output subdirectories on the
    fly when needed, i.e. when building from a completely clean tree.

 ChangeLog                 |   11 ++++++++++-
 docs/tutorial/Makefile.am |    5 ++++-
 2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 52d03b7..4d1680e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,13 @@
-2.17.3:
+2009-10-03  Daniel Elstner  <daniel kitta gmail com>
+
+	Create output subdirectories automatically
+
+	* docs/tutorial/Makefile.am (all-local): Prepend the $(DOC_LINGUAS)
+	directories to the list of prerequisites.
+	($(DOC_LINGUAS)): New rule to create output subdirectories on the
+	fly when needed, i.e. when building from a completely clean tree.
+
+2.17.4:
 
 2009-09-28  Murray Cumming  <murrayc murrayc com>
 
diff --git a/docs/tutorial/Makefile.am b/docs/tutorial/Makefile.am
index 9f20f18..82f91df 100644
--- a/docs/tutorial/Makefile.am
+++ b/docs/tutorial/Makefile.am
@@ -142,7 +142,7 @@ dist_tutorial_icons_DATA =	\
 
 include $(top_srcdir)/build/gnome-doc-utils.make
 
-all-local: $(addsuffix /gtkmm-tutorial.xml,C $(DOC_LINGUAS)) html/index.html
+all-local: $(DOC_LINGUAS) $(addsuffix /gtkmm-tutorial.xml,C $(DOC_LINGUAS)) html/index.html
 
 install-data-local: install-tutorial
 
@@ -158,6 +158,9 @@ uninstall-tutorial:
 	rm -f '$(DESTDIR)$(tutorial_htmldir)'/*.html
 	rm -f '$(DESTDIR)$(tutorial_htmldir)/style.css'
 
+$(DOC_LINGUAS):
+	@$(MKDIR_P) $@
+
 # Create a html generation of the C locale's version of the DocBook, 
 # using our custom stylesheet and graphics:
 html/index.html: $(srcdir)/C/gtkmm-tutorial.xml



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