From 2699faf9f804ff4cc1fff27e164df18a6ea74ea1 Mon Sep 17 00:00:00 2001 From: Christophe Barbe Date: Fri, 15 Feb 2002 23:21:07 +0000 Subject: [PATCH] * fix rules to build in builddir and install from builddir. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4167 67ed7778-7388-44ab-90cf-0a291f65f57c --- libgphoto2_port/doc/DocRules.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libgphoto2_port/doc/DocRules.am b/libgphoto2_port/doc/DocRules.am index 33d419460..e1bf4b157 100644 --- a/libgphoto2_port/doc/DocRules.am +++ b/libgphoto2_port/doc/DocRules.am @@ -29,12 +29,12 @@ sgml: html: if ! test -d html ; then mkdir html ; fi - -cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) + cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(srcdir)/$(DOC_MAIN_SGML_FILE) install-data-local: $(INSTALL) -d -m 0755 $(DESTDIR)$(TARGET_DIR) - $(INSTALL_DATA) $(srcdir)/html/*.html $(DESTDIR)$(TARGET_DIR) - $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) + $(INSTALL_DATA) ./html/*.html $(DESTDIR)$(TARGET_DIR) + $(INSTALL_DATA) ./html/index.sgml $(DESTDIR)$(TARGET_DIR) gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(DESTDIR)$(htmldir) dist-hook: