summaryrefslogtreecommitdiff
blob: 6e69841b5e0115fac2b23de6188ad7dfb6d95fc1 (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
diff -Naru cmatrix-1.2a.orig/Makefile.am cmatrix-1.2a/Makefile.am
--- cmatrix-1.2a.orig/Makefile.am	2008-12-24 02:37:43.000000000 +0000
+++ cmatrix-1.2a/Makefile.am	2008-12-24 02:50:08.000000000 +0000
@@ -18,20 +18,9 @@
 	    $(INSTALL_DATA) $(srcdir)/matrix.fnt $(DESTDIR)/usr/lib/kbd/consolefonts; \
 	    $(INSTALL_DATA) $(srcdir)/matrix.psf.gz $(DESTDIR)/usr/lib/kbd/consolefonts; \
 	fi
-	@if test -d /usr/lib/X11/fonts/misc; then \
-	    echo " Installing X window matrix fonts in $(DESTDIR)/usr/lib/X11/fonts/misc..."; \
-	    $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \
-	    $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \
-	    echo " Running mkfontdir $(DESTDIR)/usr/lib/X11/fonts/misc..."; \
-	    echo " Done.  If this is the first time you have installed CMatrix you will"; \
+	@if test -d /usr/share/fonts/misc; then \
+	    echo " Installing X window matrix fonts in $(DESTDIR)/usr/share/fonts/misc..."; \
+	    $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/share/fonts/misc; \
+	    echo " If this is the first time you have installed CMatrix you will"; \
 	    echo " probably have to restart X window in order to use the mtx.pcf font."; \
-	else \
-	if test -d /usr/X11R6/lib/X11/fonts/misc; then \
-	    echo " Installing X window matrix fonts in $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \
-	    $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \
-	    $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \
-	    echo " Running mkfontdir $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \
-	    echo " Done.  If this is the first time you have installed CMatrix you will"; \
-	    echo " probably have to restart X window in order to use the mtx.pcf font."; \
-	fi \
 	fi