summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2001-11-10 21:51:51 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2001-11-10 21:51:51 +0000
commit2ed4e32ec64a0c35b7f1192872ba1643073b3fcf (patch)
treeeaf5189edec4b5f570914ff0252763da33a49467 /doc/api
parent410914d7fe8e0e0d937784aef50118d42e833055 (diff)
downloadlibgphoto2-2ed4e32ec64a0c35b7f1192872ba1643073b3fcf.tar.gz
made gphoto2 compile with newer automake/autoconf and without docs
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2989 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/Makefile.am24
1 files changed, 16 insertions, 8 deletions
diff --git a/doc/api/Makefile.am b/doc/api/Makefile.am
index ebb772198..52757714c 100644
--- a/doc/api/Makefile.am
+++ b/doc/api/Makefile.am
@@ -11,7 +11,14 @@ DOC_SOURCE_DIR=$(top_srcdir)/libgphoto2
EXTRA_DIST = gphoto2-api.sgml gphoto2-sections.txt
+clean-local:
+ rm -f *~ *.bak *.hierarchy *.signals *.args *-unused.txt
+
+maintainer-clean-local: clean
+ rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
+
if ENABLE_GTK_DOC
+
htmldir = @HTML_DIR@
TARGET_DIR=$(htmldir)/$(DOC_MODULE)
@@ -30,15 +37,7 @@ sgml:
html:
if ! test -d html ; then mkdir html ; fi
-cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
-endif
-
-clean-local:
- rm -f *~ *.bak *.hierarchy *.signals *.args *-unused.txt
-maintainer-clean-local: clean
- rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
-
-if ENABLE_GTK_DOC
install-data-local:
$(INSTALL) -d -m 0755 $(DESTDIR)$(TARGET_DIR)
$(INSTALL_DATA) $(srcdir)/html/*.html $(DESTDIR)$(TARGET_DIR)
@@ -49,4 +48,13 @@ dist-hook:
(cd $(srcdir) ; tar cvf - html) | (cd $(distdir); tar xf -)
.PHONY : html sgml templates scan
+
+else
+
+dist-hook:
+ @echo "Dummy target $@"
+
+install-data-local:
+ @echo "Dummy target $@"
+
endif