Package: magic / 8.1.218+ds.1-1~bpo9+1

03-makefile-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
From: Roland Stigge <stigge@antcom.de>
Date: Thu, 26 Jul 2018 18:14:03 +0000
Subject: Install HTML docs to FHS conformant /usr/share

This patch changes a Makefile to install HTML docs to an FHS conformant dir
---
 doc/html/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/html/Makefile b/doc/html/Makefile
index 427ae37..5b5319a 100644
--- a/doc/html/Makefile
+++ b/doc/html/Makefile
@@ -2,7 +2,7 @@ MAGICDIR = ../..
 
 include $(MAGICDIR)/defs.mak
 
-HTML_INSTDIR=$(LIBDIR)/magic/doc/html
+HTML_INSTDIR=/usr/share/doc/magic/html
 
 install: $(DESTDIR)${HTML_INSTDIR}
 	tar cf - . | (cd $(DESTDIR)${HTML_INSTDIR}; tar xf - )