summaryrefslogtreecommitdiff
path: root/plan9/Xg/patches/patch-aa
blob: 251eaae1e4ebf8538d085a807e4ef8cb4c2ddd0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.2 1998/08/07 11:11:16 agc Exp $

*** Makefile~	Sun Aug 13 13:55:37 1995
--- Makefile	Sun Aug 13 13:56:11 1995
***************
*** 0 ****
--- 1,15 ----
+  
+ DESTDIR=$(PREFIX)/lib/X11/fonts/Xg
+  
+ all:
+ 	@echo nothing to be done for \`$@\'
+ 	@echo this is an install-only target.
+  
+ install:
+ 	[ -d $(DESTDIR) ] || mkdir -p $(DESTDIR)
+ 	for i in Xg/bdf/*.bdf; do b=$$(basename $$i .bdf); \
+ 	  rm -f $(DESTDIR)/$$b.pcf.Z; \
+ 	  bdftopcf -o $(DESTDIR)/$$b.pcf $$i; \
+ 	  compress $(DESTDIR)/$$b.pcf; \
+ 	  done; mkfontdir $(DESTDIR); \
+ 	  cp Xg/matty/unicode.9.font $(DESTDIR)