Boost logo

Boost-Commit :

From: fmhess_at_[hidden]
Date: 2008-03-12 12:05:50


Author: fmhess
Date: 2008-03-12 12:05:50 EDT (Wed, 12 Mar 2008)
New Revision: 43577
URL: http://svn.boost.org/trac/boost/changeset/43577

Log:
Added makefile I use to generate docs.

Added:
   sandbox/thread_safe_signals/libs/thread_safe_signals/doc/Makefile (contents, props changed)

Added: sandbox/thread_safe_signals/libs/thread_safe_signals/doc/Makefile
==============================================================================
--- (empty file)
+++ sandbox/thread_safe_signals/libs/thread_safe_signals/doc/Makefile 2008-03-12 12:05:50 EDT (Wed, 12 Mar 2008)
@@ -0,0 +1,53 @@
+PROJECT_ROOT="../../../.."
+#uncomment next line with correct path to boost_docs or pass BOOST_SRC_DIR to make environment.
+#BOOST_SRC_DIR=~/svn/boost_docs/
+BOOSTBOOK_TOOL_DIR=$(BOOST_SRC_DIR)/tools/boostbook
+
+XML_SRCS=\
+ design.xml \
+ faq.xml \
+ introduction.xml \
+ rationale.xml \
+ signals.xml \
+ tests.xml \
+ tutorial.xml \
+ reference/auto_threaded.xml \
+ reference/connection.xml \
+ reference/deconstruct_ptr.xml \
+ reference/last_value.xml \
+ reference/multi_threaded.xml \
+ reference/postconstructible.xml \
+ reference/predestructible.xml \
+ reference/reference.xml \
+ reference/shared_connection_block.xml \
+ reference/signal_base.xml \
+ reference/signal_header.xml \
+ reference/single_threaded.xml \
+ reference/slot_base.xml \
+ reference/slot.xml
+# reference/trackable.xml \
+# reference/visit_each.xml
+
+.PHONY: all
+all: doc
+
+.PHONY: clean
+clean:
+ $(RM) -r html/*
+ $(RM) *.docbook
+
+.PHONY: doc
+doc: html
+
+.PHONY: html
+html: signals.docbook
+ (export XML_CATALOG_FILES="./catalog.xml /etc/xml/catalog";\
+ xsltproc --xinclude --stringparam project.root $(PROJECT_ROOT) \
+ --stringparam chapters.select.box.show false \
+ --stringparam google.search.box.show false \
+ --stringparam generate.manifest 0 \
+ -o html/ $(BOOSTBOOK_TOOL_DIR)/xsl/html.xsl $<)
+
+signals.docbook: $(XML_SRCS)
+ (export XML_CATALOG_FILES="./catalog.xml /etc/xml/catalog";\
+ xsltproc --xinclude --stringparam project.root $(PROJECT_ROOT) -o $@ $(BOOSTBOOK_TOOL_DIR)/xsl/docbook.xsl signals.xml)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk