Update of /cvsroot/mockpp/mockpp/mockpp/docs/api
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17414/mockpp/docs/api
Modified Files:
Makefile.am
Log Message:
conditional generation of the docs
Index: Makefile.am
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/docs/api/Makefile.am,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- Makefile.am 2 Nov 2005 19:36:18 -0000 1.21
+++ Makefile.am 18 Nov 2005 20:32:36 -0000 1.22
@@ -49,11 +49,25 @@
htmldir = $(pkgdatadir)/html
+if DOXYGEN_DOC
+
install-data-hook: doc
$(mkdir_p) $(DESTDIR)$(htmldir)/api-doc
-find html | xargs -n 1 cp -v -t $(DESTDIR)$(htmldir)/api-doc
# $(INSTALL) html/* $(DESTDIR)$(htmldir)/api-doc
+else
+
+install-data-hook:
+ @echo ""
+ @echo "***********************************************************"
+ @echo "* Installation of then api documentation 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:
|