File: install-html.patch

package info (click to toggle)
libxml2.9 2.12.7%2Bdfsg%2Breally2.9.14-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,204 kB
  • sloc: ansic: 198,619; xml: 23,237; python: 21,469; sh: 5,062; makefile: 2,110; javascript: 639; php: 365; perl: 67
file content (66 lines) | stat: -rw-r--r-- 1,753 bytes parent folder | download | duplicates (3)
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