summaryrefslogtreecommitdiff
path: root/textproc/libxml2/patches/patch-ad
blob: ed3c6cc30dfeb9045671b029180c65d74638fbfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-ad,v 1.12 2003/08/29 11:22:22 xtraeme Exp $

--- doc/Makefile.in.orig	2003-08-29 12:40:10.000000000 +0200
+++ doc/Makefile.in	2003-08-29 12:41:11.000000000 +0200
@@ -153,7 +153,7 @@
 pythondir = @pythondir@
 
 # The name of the module.
-DOC_MODULE = libxml2-$(VERSION)
+DOC_MODULE = libxml2
 
 # The top-level SGML file.
 DOC_MAIN_XML_FILE = gnome-xml.xml
@@ -164,7 +164,7 @@
 # A file in win32 depends upon one of the doc files
 WIN32_DIR = $(top_srcdir)/win32
 
-TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)/html
+TARGET_DIR = $(HTML_DIR)/html/$(DOC_MODULE)
 PAGES = architecture.html bugs.html contribs.html docs.html DOM.html \
     downloads.html entities.html example.html help.html index.html \
     interface.html intro.html library.html namespaces.html news.html \
@@ -433,8 +433,8 @@
 	-@INSTALL@ -m 0644 $(srcdir)/xml.html $(srcdir)/encoding.html $(srcdir)/FAQ.html $(srcdir)/structure.gif $(srcdir)/DOM.gif $(srcdir)/smallfootonly.gif $(srcdir)/redhat.gif $(srcdir)/libxml.gif $(srcdir)/w3c.png $(srcdir)/Libxml2-Logo-180x168.gif $(srcdir)/Libxml2-Logo-90x34.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=libxml --html-dir=$(HTML_DIR))
-	-@(tar cf - tutorial | (cd $(DESTDIR)$(TARGET_DIR) && tar xvf -))
+	$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)/tutorial
+	-@(cd tutorial && $(PAX) -rwpppm . $(DESTDIR)$(TARGET_DIR)/tutorial)
 
 .PHONY : html xml templates scan
 # Tell versions [3.59,3.63) of GNU make to not export all variables.