Package: libxml2 / 2.9.14+dfsg-1.3~deb12u2

install-html.patch Patch series | download
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Description: install *all* the HTML docs
 The relevant makefile target was never updated since 2004..
 Should probably look for a nicer way to do this than the current list before forwarding.
Author: Mattia Rizzolo <mattia@debian.org>
Last-Update: 2021-07-28
Forwarded: no

--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -334,9 +334,55 @@
 
 rebuild: api docs
 
+HTML_TOP_DIR= \
+	architecture.html \
+	bugs.html \
+	catalog.gif \
+	catalog.html \
+	contribs.html \
+	docs.html \
+	downloads.html \
+	DOM.gif \
+	DOM.html \
+	encoding.html \
+	entities.html \
+	example.html \
+	FAQ.html \
+	index.html \
+	interface.html \
+	intro.html \
+	guidelines.html \
+	help.html \
+	library.html \
+	libxml.gif \
+	libxml2-api.xml \
+	Libxml2-Logo-90x34.gif \
+	Libxml2-Logo-180x168.gif \
+	namespaces.html \
+	news.html \
+	python.html \
+	redhat.gif \
+	searches.html \
+	smallfootonly.gif \
+	structure.gif \
+	threads.html \
+	tree.html \
+	upgrade.html \
+	w3c.png \
+	xml.html \
+	xmlcatalog_man.html \
+	xmldtd.html \
+	xmlio.html \
+	xmllint.html \
+	xmlmem.html \
+	xmlreader.html \
+	XMLinfo.html \
+	XSLT.html
+
+
 install-data-local: 
 	$(MKDIR_P) $(DESTDIR)$(HTML_DIR)
-	-$(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)$(HTML_DIR)
+	-$(INSTALL) -m 0644 $(foreach file,$(HTML_TOP_DIR),$(srcdir)/$(file)) $(DESTDIR)$(HTML_DIR)
 	$(MKDIR_P) $(DESTDIR)$(HTML_DIR)/html
 	-$(INSTALL) -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(HTML_DIR)/html
 	-$(INSTALL) -m 0644 $(srcdir)/html/*.png $(DESTDIR)$(HTML_DIR)/html