File: 0004-do-not-build-html-manpages.patch

package info (click to toggle)
tgt 1%3A1.0.85-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,784 kB
  • sloc: ansic: 28,398; perl: 3,825; xml: 1,867; sh: 1,271; makefile: 293
file content (32 lines) | stat: -rw-r--r-- 912 bytes parent folder | download | duplicates (4)
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
From: Apollon Oikonomopoulos <apoikos@debian.org>
Date: Wed, 17 Jul 2019 13:08:45 -0300
Subject: Do not build the HTML manpages

Forwarded: no
Last-Update: 2014-05-13
---
 doc/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/doc/Makefile b/doc/Makefile
index e937f5e..6885b35 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -18,7 +18,7 @@ XMLHTML = htmlpages/tgtd.8.html htmlpages/tgtadm.8.html \
 		htmlpages/targets.conf.5.html htmlpages/tgt-setup-lun.8.html
 
 .PHONY:all
-all: xmlman xmlhtml
+all: xmlman
 
 .PHONY: install
 install: $(MANPAGES) $(DOCS)
@@ -27,8 +27,6 @@ install: $(MANPAGES) $(DOCS)
 	install -m 644 $(filter %.5,$(MANPAGES)) $(DESTDIR)$(mandir)/man5
 	install -d -m 755 $(DESTDIR)$(docdir)
 	install -m 644 $(DOCS) $(DESTDIR)$(docdir)
-	install -d -m 755 $(DESTDIR)$(docdir)/html
-	install -m 644 $(XMLHTML) $(DESTDIR)$(docdir)/html
 
 .PHONY: clean
 clean: