summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Kłoczko <kloczek@src.gnome.org>1999-07-10 12:18:15 +0000
committerTomasz Kłoczko <kloczek@src.gnome.org>1999-07-10 12:18:15 +0000
commit15012ae15d4d336b10d7e4e845e7786a80af4dd9 (patch)
treecc64562ca22a6601d18f855bfabcc4cfd0834ac6
parent7cc3c04b806cb29cdd2b7a8030615af8cad6738c (diff)
downloadlibxml2-15012ae15d4d336b10d7e4e845e7786a80af4dd9.tar.gz
- fix which allow "make install DESTDIR=</install/prefix>".
- fix which allow "make install DESTDIR=</install/prefix>".
-rw-r--r--doc/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 6b297854..6e0aaeff 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -46,11 +46,11 @@ gnome-xml-sections.txt : scan
rebuild: gnome-xml-sections.txt templates sgml html
install-data-local:
- @INSTALL@ -d -m 0755 $(TARGET_DIR)
- -@INSTALL@ -m 0644 $(srcdir)/xml.html $(srcdir)/structure.gif $(srcdir)/DOM.gif $(TARGET_DIR)
- -@INSTALL@ -m 0644 $(srcdir)/html/*.html $(TARGET_DIR)
- -@INSTALL@ -m 0644 $(srcdir)/html/index.sgml $(TARGET_DIR)
- -gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)
+ @INSTALL@ -d -m 0755 $(DESTDIR)$(TARGET_DIR)
+ -@INSTALL@ -m 0644 $(srcdir)/xml.html $(srcdir)/structure.gif $(srcdir)/DOM.gif $(DESTDIR)$(TARGET_DIR)
+ -@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(TARGET_DIR)
+ -@INSTALL@ -m 0644 $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR)
+ -(cd $(DESTDIR); gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR))
dist-hook:
(cd $(srcdir) ; tar cvf - xml.html structure.gif DOM.gif html/*.html html/*.sgml) | (cd $(distdir); tar xf -)