Update of /cvsroot/mockpp/mockpp/mockpp/docs/en
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17414/mockpp/docs/en
Modified Files:
Makefile.am
Log Message:
conditional generation of the docs
Index: Makefile.am
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/docs/en/Makefile.am,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- Makefile.am 17 Nov 2005 21:08:52 -0000 1.37
+++ Makefile.am 18 Nov 2005 20:32:36 -0000 1.38
@@ -73,6 +73,8 @@
htmldir = $(pkgdatadir)/html
+if DOCBOOK_DOC
+
install-data-hook: doc
$(mkdir_p) $(DESTDIR)$(htmldir)/handbook/common
$(mkdir_p) $(DESTDIR)$(htmldir)/handbook/images/callouts
@@ -81,6 +83,18 @@
$(INSTALL) $(srcdir)/images/*.png $(DESTDIR)$(htmldir)/handbook/images
$(INSTALL) $(srcdir)/images/callouts/*.png $(DESTDIR)$(htmldir)/handbook/images/callouts
+else
+
+install-data-hook:
+ @echo ""
+ @echo "***********************************************************"
+ @echo "* Installation of the handbook is disabled. *"
+ @echo "* Use --enable-docbook 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:
|