From c20825a875cc172313a0c16904b9ab4e857df1f8 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Fri, 15 Sep 2006 17:18:44 +0000 Subject: [PATCH] Integrated --enable-docs configure switch --- trunk/Makefile.am | 20 ++++++++++++++++---- trunk/configure.ac | 17 +++++++++++++++++ 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/trunk/Makefile.am b/trunk/Makefile.am index 5527dabc..d3029667 100644 --- a/trunk/Makefile.am +++ b/trunk/Makefile.am @@ -142,6 +142,7 @@ cdrskin_cdrskin_SOURCES = cdrskin/cdrskin.c cdrskin/cdrfifo.c cdrskin/cdrfifo.h ## Build documentation (You need Doxygen for this to work) webhost = http://libburn-api.pykix.org webpath = / +docdir = $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)-$(VERSION) docdeps = \ doc/doxygen.conf \ @@ -150,16 +151,27 @@ docdeps = \ libisofs/libisofs.h \ test/burniso.c -doc: doc/html +doc: doc/html doc/html: $(docdeps) - $(RM) -r $@ - doxygen doc/doxygen.conf + if [ -f ./doc/doc.lock ]; then \ + $(RM) -r doc/html; \ + doxygen doc/doxygen.conf; \ + fi doc-upload: doc/html scp -r $