1 --- joe/Makefile.marc Mon Jan 23 01:01:28 1995
2 +++ joe/Makefile Wed Jan 3 11:37:34 1996
4 # to go and where you want the man page
7 -WHEREJOE = /usr/local/bin
8 -WHERERC = /usr/local/lib
10 +WHERERC = /usr/lib/joe
11 WHEREMAN = /usr/man/man1
13 # If you want to use TERMINFO, you have to set
16 # C compiler options: make's built-in rules use this variable
19 +CFLAGS = $(RPM_OPT_FLAGS)
21 # C compiler to use: make's built-in rules use this variable
24 # add '-ltinfo', '-lcurses' or '-ltermlib',
25 # depending on the system.
28 +EXTRALIBS = -lncurses
35 if [ ! -d $(WHEREJOE) ]; then mkdir $(WHEREJOE); chmod a+rx $(WHEREJOE); fi
36 - rm -f $(WHEREJOE)/joe $(WHEREJOE)/jmacs $(WHEREJOE)/jstar $(WHEREJOE)/jpico $(WHEREJOE)/rjoe $(WHEREJOE)/termidx
37 + rm -f $(WHEREJOE)/joe $(WHEREJOE)/jmacs $(WHEREJOE)/jstar $(WHEREJOE)/jpico $(WHEREJOE)/rjoe
39 ln $(WHEREJOE)/joe $(WHEREJOE)/jmacs
40 ln $(WHEREJOE)/joe $(WHEREJOE)/jstar
41 ln $(WHEREJOE)/joe $(WHEREJOE)/rjoe
42 ln $(WHEREJOE)/joe $(WHEREJOE)/jpico
43 - mv termidx $(WHEREJOE)
44 if [ ! -d $(WHERERC) ]; then mkdir $(WHERERC); chmod a+rx $(WHERERC); fi
45 rm -f $(WHERERC)/joerc $(WHERERC)/jmacsrc $(WHERERC)/jstarrc $(WHERERC)/jpicorc $(WHERERC)/rjoerc $(WHEREMAN)/joe.1
48 chmod a+r $(WHERERC)/rjoerc
49 chmod a+r $(WHERERC)/jpicorc
50 chmod a+r $(WHEREMAN)/joe.1
51 - chmod a+x $(WHEREJOE)/termidx
52 - rm -f $(WHERERC)/termcap
53 - cp termcap $(WHERERC)/termcap
54 - chmod a+r $(WHERERC)/termcap
55 - rm -f $(WHERERC)/terminfo
56 - cp terminfo $(WHERERC)/terminfo
57 - chmod a+r $(WHERERC)/terminfo