Package: magic / 7.5.220-1

03-makefile-install-html.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Install HTML docs to FHS conformant /usr/share
 This patch changes a Makefile to install HTML docs to an FHS conformant dir
Author: Roland Stigge <stigge@antcom.de>

--- magic-7.5.213.orig/doc/html/Makefile
+++ magic-7.5.213/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 - )