summaryrefslogtreecommitdiffstats
path: root/www/lynx/files/patch-aa
blob: b3cd4e27791d9e5165e79059532f25eaee26c9a1 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
*** Makefile.old	Mon Feb 12 11:58:22 1996
--- Makefile	Thu Feb 22 04:50:37 1996
***************
*** 10,29 ****
  ##change the next line if you want lynx installed somewhere 
  ##besides /usr/local/bin
  
! exec= /usr/local/bin
  
  ##change the next line if you want the lynx man file installed somewhere
  ##besides /usr/man/man1
  
! doc= /usr/man/man1
  
  ##change the next line if you want the lynx.cfg file installed somewhere
  ##besides /usr/local/lib
  
! cfg= /usr/local/lib
  
! installbin= install -c -s -m 555
! installdoc= install -c -m 444
  
  
  #set the relative location of the WWW library Implementation directory, 
--- 10,29 ----
  ##change the next line if you want lynx installed somewhere 
  ##besides /usr/local/bin
  
! exec= ${PREFIX}/bin
  
  ##change the next line if you want the lynx man file installed somewhere
  ##besides /usr/man/man1
  
! doc= ${PREFIX}/man/man1
  
  ##change the next line if you want the lynx.cfg file installed somewhere
  ##besides /usr/local/lib
  
! cfg= ${PREFIX}/etc
  
! installbin= ${INSTALL} -c -s -m ${BINMODE} -o ${BINOWN} -g ${BINGRP}
! installdoc= ${INSTALL} -c -m 444 -o ${BINOWN} -g ${BINGRP}
  
  
  #set the relative location of the WWW library Implementation directory, 
***************
*** 644,650 ****
  
  install:
  	-mv -f $(exec)/lynx $(exec)/lynx.old
- 	-mv -f $(cfg)/lynx.cfg $(cfg)/lynx.oldcfg
  	$(installbin) lynx $(exec)/lynx
  	$(installdoc) lynx.man $(doc)/lynx.1
! 	$(installdoc) lynx.cfg $(cfg)/lynx.cfg
--- 644,653 ----
  
  install:
  	-mv -f $(exec)/lynx $(exec)/lynx.old
  	$(installbin) lynx $(exec)/lynx
  	$(installdoc) lynx.man $(doc)/lynx.1
! 	if [ -f $(cfg)/lynx.cfg ] ; then \
! 		$(installdoc) lynx.cfg $(cfg)/lynx.cfg-dist; \
! 	else \
! 		$(installdoc) lynx.cfg $(cfg)/lynx.cfg; \
! 	fi
OpenPOWER on IntegriCloud