File: Makefile.am

package info (click to toggle)
cmatrix 1.2a-2.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 376 kB
  • ctags: 35
  • sloc: sh: 2,672; ansic: 520; makefile: 42
file content (39 lines) | stat: -rw-r--r-- 1,899 bytes parent folder | download | duplicates (5)
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
33
34
35
36
37
38
39
bin_PROGRAMS = cmatrix
cmatrix_SOURCES = cmatrix.c

man_MANS = cmatrix.1

EXTRA_DIST =	AUTHORS COPYING ChangeLog INSTALL NEWS README \
		TODO install-sh missing mkinstalldirs matrix.fnt \
		matrix.psf.gz mtx.pcf cmatrix.1 cmatrix.spec

install-data-local:
	@if test -d /usr/share/consolefonts; then \
	    echo " Installing matrix fonts in /usr/share/consolefonts..."; \
	    $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/share/consolefonts; \
	    $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/share/consolefonts; \
	fi
	@if test -d /usr/lib/kbd/consolefonts; then \
	    echo " Installing matrix fonts in /usr/lib/kbd/consolefonts..."; \
	    $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/lib/kbd/consolefonts; \
	    $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/lib/kbd/consolefonts; \
	fi
	@if test -d /usr/lib/X11/fonts/misc; then \
	    echo " Installing X window matrix fonts in /usr/lib/X11/fonts/misc..."; \
	    $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \
	    $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \
	    echo " Running mkfontdir /usr/lib/X11/fonts/misc..."; \
	    $(MKFONTDIR) /usr/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."; \
	else \
	if test -d /usr/X11R6/lib/X11/fonts/misc; then \
	    echo " Installing X window matrix fonts in /usr/X11R6/lib/X11/fonts/misc..."; \
	    $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \
	    $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \
	    echo " Running mkfontdir /usr/X11R6/lib/X11/fonts/misc..."; \
	    $(MKFONTDIR) /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