From 2ed4e32ec64a0c35b7f1192872ba1643073b3fcf Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Sat, 10 Nov 2001 21:51:51 +0000 Subject: 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 --- doc/api/Makefile.am | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'doc/api') 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 -- cgit v1.2.1