gtkmm-documentation r56 - in trunk: . docs docs/tutorial



Author: murrayc
Date: Fri Aug  1 15:01:04 2008
New Revision: 56
URL: http://svn.gnome.org/viewvc/gtkmm-documentation?rev=56&view=rev

Log:
2008-08-01  Deng Xiyue <manphiz gmail com>

* docs/tutorial/Makefile.am: Reinstate rules to install generated
html tutorial.
* docs/index.html: Fix links to html tutorial

Modified:
   trunk/ChangeLog
   trunk/docs/index.html
   trunk/docs/tutorial/Makefile.am

Modified: trunk/docs/index.html
==============================================================================
--- trunk/docs/index.html	(original)
+++ trunk/docs/index.html	Fri Aug  1 15:01:04 2008
@@ -55,13 +55,13 @@
            <p><a href="tutorial/html/index.html">Contents</a> of whole online book.</p>
            <p>Selected chapters:
            <ul>
-            <li><a href="tutorial/html/ch02.html">Installation</a></li>
-            <li><a href="tutorial/html/ch03.html">Basics</a></li>
-            <li><a href="tutorial/html/apb.html">Signals</a></li>
-            <li><a href="tutorial/html/ch07.html">Container Widgets</a></li>
-            <li><a href="tutorial/html/ch08.html">TreeView</a></li>
-            <li><a href="tutorial/html/ch22.html">Memory Management</a></li>
-            <li><a href="tutorial/html/ch23.html">Glade and libglademm</a></li>
+            <li><a href="tutorial/html/chapter-installation.html">Installation</a></li>
+            <li><a href="tutorial/html/chapter-basics.html">Basics</a></li>
+            <li><a href="tutorial/html/chapter-signals.html">Signals</a></li>
+            <li><a href="tutorial/html/chapter-container-widgets.html">Container Widgets</a></li>
+            <li><a href="tutorial/html/chapter-treeview.html">TreeView</a></li>
+            <li><a href="tutorial/html/chapter-memory.html">Memory Management</a></li>
+            <li><a href="tutorial/html/chapter-libglademm.html">Glade and libglademm</a></li>
 
            </ul>
            </p>

Modified: trunk/docs/tutorial/Makefile.am
==============================================================================
--- trunk/docs/tutorial/Makefile.am	(original)
+++ trunk/docs/tutorial/Makefile.am	Fri Aug  1 15:01:04 2008
@@ -120,6 +120,26 @@
 
 tutorialdir = $(gtkmm_docdir)/tutorial/html
 
+install-tutorial: html/index.html style.css
+	@$(NORMAL_INSTALL)
+	$(mkinstalldirs) $(DESTDIR)$(tutorialdir)
+	@dir='$(<D)'; for p in $$dir/*.html ; do \
+	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(tutorialdir)/$$f"; \
+	  $(INSTALL_DATA) $$p $(DESTDIR)$(tutorialdir)/$$f; \
+	done
+	$(INSTALL_DATA) $(srcdir)/style.css $(DESTDIR)$(tutorialdir)
+
+uninstall-tutorial: html/index.html style.css
+	@$(NORMAL_UNINSTALL)
+	@dir='$(<D)'; for p in $$dir/*.html ; do \
+	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+	  echo " rm -f $(DESTDIR)$(tutorialdir)/$$f"; \
+	  rm -f $(DESTDIR)$(tutorialdir)/$$f; \
+	done
+	rm -f $(DESTDIR)$(tutorialdir)/style.css
+	rm -f $(DESTDIR)$(tutorialdir)/icons
+
 all-local: html/index.html
 
 install-data-local: install-tutorial



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