Update of /cvsroot/mockpp/mockpp/mockpp/examples/tutorial
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17414/mockpp/examples/tutorial
Modified Files:
Makefile.am
Log Message:
conditional generation of the docs
Index: Makefile.am
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/examples/tutorial/Makefile.am,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- Makefile.am 18 Nov 2005 10:31:53 -0000 1.26
+++ Makefile.am 18 Nov 2005 20:32:36 -0000 1.27
@@ -85,10 +85,24 @@
htmldir = $(pkgdatadir)/html
+if DOXYGEN_DOC
+
install-data-hook:
$(mkdir_p) $(htmldir)/tutorial
$(INSTALL) html/* $(htmldir)/tutorial
+else
+
+install-data-hook:
+ @echo ""
+ @echo "***********************************************************"
+ @echo "* Installation of the tutorial is disabled. *"
+ @echo "* Use --enable-doxygen to turn this on. *"
+ @echo "***********************************************************"
+ @echo ""
+
+endif
+
# Automake's "distcheck" is sensitive to having files left over
# after "make uninstall", so we have to clean up the install hook.
uninstall-local:
|