summaryrefslogtreecommitdiffstats
path: root/emulators/xzx/files/patch-aa
blob: 60149ff8130a4fa246fa5f950889c89a7957e738 (plain)
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
Put documentation in share/doc/xzx instead of lib/xzx:

--- doc/Makefile.in.orig	Fri Oct  9 13:20:18 1998
+++ doc/Makefile.in	Fri Oct  9 13:34:32 1998
@@ -52,6 +52,7 @@
 sysconfdir = @sysconfdir@
 sharedstatedir = @sharedstatedir@
 localstatedir = @localstatedir@
+docdir = $(datadir)/doc
 libdir = @libdir@
 infodir = @infodir@
 mandir = @mandir@
@@ -61,6 +62,7 @@
 DESTDIR =
 
 pkgdatadir = $(datadir)/@PACKAGE@
+pkgdocdir = $(docdir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
 
@@ -260,9 +262,9 @@
 	sed -e "s,/usr/local/lib/xzx,$(pkglibdir)," < Xzx.ad > Xzx
 
 install-data-local: Xzx
-	$(mkinstalldirs) $(pkglibdir)
+	$(mkinstalldirs) $(pkgdocdir)
 	for f in $(DOC_FILES); do \
-	  $(INSTALL_DATA) $$f $(pkglibdir); \
+	  $(INSTALL_DATA) $$f $(pkgdocdir); \
 	done
 	$(INSTALL_DATA) Xzx @XAPPLOADDIR@/Xzx
 	rm -f Xzx
OpenPOWER on IntegriCloud