summaryrefslogtreecommitdiff
path: root/editors/sam/patches/patch-af
blob: ba87ef18a5443891d6d7afea05519395ee623160 (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
33
34
35
36
37
38
39
40
41
*** Makefile.orig	Fri Aug 11 15:55:41 1995
--- Makefile	Fri Aug 11 16:08:35 1995
***************
*** 3,8 ****
--- 3,17 ----
  #	master makefile for sam.  configure sub-makefiles first.
  #
  
+ 
+ MAN=man
+ MAN1=sam
+ MAN3=add balloc bitblt cachechars event frame graphics rgbpix rune
+ MAN4=font keyboard utf
+ MAN6=bitmap regexp
+ APP_DEFAULT_DIR=/usr/X11R6/lib/X11/app-defaults
+ AD=Sam
+ 
  all:	lXg lframe samdir samtermdir
  
  lXg:
***************
*** 21,26 ****
--- 30,47 ----
  	cd libframe; $(MAKE) install
  	cd sam; $(MAKE) install
  	cd samterm; $(MAKE) install
+ 	pwd
+ 	for i in $(MAN1); do cp doc/$$i.1 $(PREFIX)/$(MAN)/man1/$$i.1; done
+ 	for i in $(MAN3); do cp doc/$$i.3 $(PREFIX)/$(MAN)/man3/$$i.3; done
+ 	for i in $(MAN4); do cp doc/$$i.4 $(PREFIX)/$(MAN)/man4/$$i.4; done
+ 	for i in $(MAN6); do cp doc/$$i.6 $(PREFIX)/$(MAN)/man6/$$i.6; done
+ 	cp doc/$(AD).ad $(APP_DEFAULT_DIR)/$(AD)
+ 	strip $(PREFIX)/bin/sam
+ 	strip $(PREFIX)/bin/samterm
+ 	for i in $(MAN1); do gzip -9nf $(PREFIX)/$(MAN)/man1/$$i.1; done
+ 	for i in $(MAN3); do gzip -9nf $(PREFIX)/$(MAN)/man3/$$i.3; done
+ 	for i in $(MAN4); do gzip -9nf $(PREFIX)/$(MAN)/man4/$$i.4; done
+ 	for i in $(MAN6); do gzip -9nf $(PREFIX)/$(MAN)/man6/$$i.6; done
  
  clean:
  	cd libXg; $(MAKE) clean