|
Lines 1-45
Link Here
|
| 1 |
--- makefile.in.orig 2019-08-26 20:21:48 UTC |
1 |
--- makefile.in.orig 2021-08-01 20:50:51.000000000 +0200 |
| 2 |
+++ makefile.in |
2 |
+++ makefile.in 2021-08-13 17:31:19.742347000 +0200 |
| 3 |
@@ -324,7 +324,7 @@ install-doc : $(DOCDIR) $(HELPDIR) |
3 |
@@ -325,7 +325,7 @@ |
| 4 |
cd $(HELPDIR) && rm -f $$name ;\ |
4 |
cd $(HELPDIR) && rm -f $$name ;\ |
| 5 |
r= ;\ |
5 |
r= ;\ |
| 6 |
test "$(LN_S)" = "ln -s" || r=`echo $(helpdir)|sed -e "s%[^/]\+%..%g" -e "s%^.%%"`; \ |
6 |
test "$(LN_S)" = "ln -s" || r=`echo $(helpdir)|sed -e "s%[^/]\+%..%g" -e "s%^.%%"`; \ |
| 7 |
- cd $(HELPDIR) && ( $(LN_S) $$r$(docdir)/$$name . || cp $(DOCDIR)/$$name . );\ |
7 |
- cd $(HELPDIR) && ( $(LN_S) $$r$(docdir)/$$name . || cp $(DOCDIR)/$$name . );\ |
| 8 |
+ cd $(HELPDIR) && ( $(LN_S) ../doc/lynx/$$name . || cp $(DOCDIR)/$$name . );\ |
8 |
+ cd $(HELPDIR) && ( $(LN_S) ../doc/lynx/$$name . || cp $(DOCDIR)/$$name . );\ |
| 9 |
done' |
9 |
done';\ |
| 10 |
-$(SHELL) -c 'case `id|sed -e "s/(.*//"` in uid=0) chown -R root $(DOCDIR);; esac' |
10 |
$(SHELL) -c 'set -x; \ |
| 11 |
|
11 |
case `id|sed -e "s/(.*//"` in \ |
| 12 |
@@ -393,14 +393,10 @@ install-help : $(CFG2HTML) help_files.sed $(HELPDIR) $ |
12 |
@@ -403,14 +403,10 @@ |
| 13 |
if test "$(COMPRESS_PROG)" != "" ; then \ |
13 |
if test "$(COMPRESS_PROG)" != "" ; then \ |
| 14 |
(cd $(HELPDIR) && $(COMPRESS_PROG) $$files ) \ |
14 |
(cd $(HELPDIR) && $(COMPRESS_PROG) $$files ) \ |
| 15 |
fi' |
15 |
fi' |
| 16 |
- @echo Updating $(sysconfdir)/lynx.cfg |
16 |
- @echo "Updating $(sysconfdir)/lynx.cfg" |
| 17 |
- @ECHO_CC@$(SHELL) -c \ |
17 |
- @ECHO_CC@$(SHELL) -c \ |
| 18 |
- 'if test -f $(SYSCONFDIR)/lynx.cfg ; then \ |
18 |
- 'if test -f $(SYSCONFDIR)/lynx.cfg ; then \ |
| 19 |
- mv $(SYSCONFDIR)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \ |
19 |
- mv $(SYSCONFDIR)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \ |
| 20 |
- else \ |
20 |
- else \ |
| 21 |
- cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \ |
21 |
- cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \ |
| 22 |
- fi' |
22 |
- fi' |
| 23 |
- @echo Updating $(sysconfdir)/lynx.cfg to point to installed help-files |
23 |
- @echo "Updating $(sysconfdir)/lynx.cfg to point to installed help-files" |
| 24 |
+ @echo Updating $(sysconfdir)/lynx.cfg.sample |
24 |
+ @echo "Updating $(sysconfdir)/lynx.cfg.sample" |
| 25 |
+ cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp |
25 |
+ cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp |
| 26 |
+ rm -f $(SYSCONFDIR)/lynx.cfg.sample |
26 |
+ rm -f $(SYSCONFDIR)/lynx.cfg.sample |
| 27 |
+ @echo Updating $(sysconfdir)/lynx.cfg.sample to point to installed help-files |
27 |
+ @echo "Updating $(sysconfdir)/lynx.cfg.sample to point to installed help-files" |
| 28 |
@ECHO_CC@sed -e '/^HELPFILE:http/s!^!#!' \ |
28 |
@ECHO_CC@sed -e '/^HELPFILE:http/s!^!#!' \ |
| 29 |
-e '/^#HELPFILE:file/s!#!!' \ |
29 |
-e '/^#HELPFILE:file/s!#!!' \ |
| 30 |
$(SYSCONFDIR)/lynx.tmp | \ |
30 |
$(SYSCONFDIR)/lynx.tmp | \ |
| 31 |
@@ -408,8 +404,8 @@ install-help : $(CFG2HTML) help_files.sed $(HELPDIR) $ |
31 |
@@ -418,8 +414,8 @@ |
| 32 |
$(SHELL) $(scripts_dir)/cfg_path.sh lynx_doc $(helpdir) | \ |
32 |
$(SHELL) $(scripts_dir)/cfg_path.sh lynx_doc $(helpdir) | \ |
| 33 |
sed -e '/^HELPFILE:file/s!$$!$(COMPRESS_EXT)!' \ |
33 |
sed -e '/^HELPFILE:file/s!$$!$(COMPRESS_EXT)!' \ |
| 34 |
-e '/^HELPFILE:file/s!$(COMPRESS_EXT)$(COMPRESS_EXT)$$!$(COMPRESS_EXT)!' \ |
34 |
-e '/^HELPFILE:file/s!$(COMPRESS_EXT)$(COMPRESS_EXT)$$!$(COMPRESS_EXT)!' \ |
| 35 |
- >$(SYSCONFDIR)/lynx.cfg |
35 |
- >$(SYSCONFDIR)/lynx.cfg ;\ |
| 36 |
- chmod 644 $(SYSCONFDIR)/lynx.cfg |
36 |
- chmod 644 $(SYSCONFDIR)/lynx.cfg ;\ |
| 37 |
+ >$(SYSCONFDIR)/lynx.cfg.sample |
37 |
+ >$(SYSCONFDIR)/lynx.cfg.sample; \ |
| 38 |
+ chmod 644 $(SYSCONFDIR)/lynx.cfg.sample |
38 |
+ chmod 644 $(SYSCONFDIR)/lynx.cfg.sample; \ |
| 39 |
-rm -f $(SYSCONFDIR)/lynx.tmp |
39 |
rm -f $(SYSCONFDIR)/lynx.tmp |
| 40 |
|
40 |
|
| 41 |
LYHelp.h : help_files.sed $(srcdir)/LYHelp.hin |
41 |
LYHelp.h : help_files.sed $(srcdir)/LYHelp.hin |
| 42 |
@@ -432,17 +428,15 @@ cfg_defs.h : $(scripts_dir)/cfg_defs.sh $(scripts_dir) |
42 |
@@ -442,17 +438,15 @@ |
| 43 |
$(SHELL) -c 'SHELL=$(SHELL) $(SHELL) $(scripts_dir)/cfg_defs.sh $(srcdir)' |
43 |
$(SHELL) -c 'SHELL=$(SHELL) $(SHELL) $(scripts_dir)/cfg_defs.sh $(srcdir)' |
| 44 |
|
44 |
|
| 45 |
install-cfg : $(SYSCONFDIR) |
45 |
install-cfg : $(SYSCONFDIR) |
|
Lines 51-61
Link Here
|
| 51 |
+ @$(SHELL) $(scripts_dir)/install-lss.sh "$(INSTALL_DATA)" $(srcdir)/samples/lynx.lss $(SYSCONFDIR)/lynx.lss.sample |
51 |
+ @$(SHELL) $(scripts_dir)/install-lss.sh "$(INSTALL_DATA)" $(srcdir)/samples/lynx.lss $(SYSCONFDIR)/lynx.lss.sample |
| 52 |
|
52 |
|
| 53 |
uninstall :: |
53 |
uninstall :: |
| 54 |
@MSG_DIR_MAKE@ cd $(PO_DIR) && $(MAKE_RECUR) uninstall |
54 |
@MSG_DIR_MAKE@ ( cd $(PO_DIR) && $(MAKE_RECUR) uninstall ) |
| 55 |
-rm -f $(BINDIR)/$(binary_PROG) |
55 |
-rm -f $(BINDIR)/$(binary_PROG) ;\ |
| 56 |
-rm -f $(MANDIR)/$(actual_PROG).1 |
56 |
- rm -f $(MANDIR)/$(actual_PROG).1 ;\ |
| 57 |
- -rm -f $(SYSCONFDIR)/lynx.cfg |
57 |
- rm -f $(SYSCONFDIR)/lynx.cfg ;\ |
| 58 |
- -rm -f $(SYSCONFDIR)/lynx.lss |
58 |
- rm -f $(SYSCONFDIR)/lynx.lss |
|
|
59 |
+ rm -f $(MANDIR)/$(actual_PROG).1 |
| 59 |
|
60 |
|
| 60 |
uninstall \ |
61 |
uninstall \ |
| 61 |
uninstall-help :: |
62 |
uninstall-help :: |