* 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
This commit is contained in:
Christophe Barbe
2002-02-15 23:21:07 +00:00
parent 24a31382c6
commit 2699faf9f8

View File

@@ -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: