aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/lynx/files/patch-aa
blob: dc95a3ad57f91475f6c258ac543f88a61f56ce12 (plain) (blame)
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
--- makefile.in.orig    Fri May 28 23:04:01 1999
+++ makefile.in Sun Jul  4 17:13:39 1999
@@ -50,11 +50,11 @@
 LIBDIR= $(DESTDIR)$(libdir)
 
 ## Where you want the doc-files installed
-docdir= @libdir@/lynx_doc
+docdir= @datadir@/doc/lynx
 DOCDIR= $(DESTDIR)$(docdir)
 
 ## Where you want the help-files installed
-helpdir= @libdir@/lynx_help
+helpdir= $(prefix)/share/lynx_help
 HELPDIR= $(DESTDIR)$(helpdir)
 
 ##set the relative location of the WWW library Implementation directory,
@@ -358,10 +358,9 @@
    -rm -f $(HELPDIR)/help_files.sed
    @echo Updating $(libdir)/lynx.cfg
    $(SHELL) -c 'if test -f $(LIBDIR)/lynx.cfg ; then \
-       mv $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.tmp ; \
-   else \
-       cp $(srcdir)/lynx.cfg $(LIBDIR)/lynx.tmp ; \
+       mv -f $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.oldcfg ; \
    fi'
+   cp $(srcdir)/lynx.cfg $(LIBDIR)/lynx.tmp
    @echo Updating $(libdir)/lynx.cfg to point to installed help-files
    @ECHO_CC@sed    -e '/^HELPFILE:http/s@^@#@' \
        -e '/^#HELPFILE:file/s@#@@' \
@@ -371,6 +370,7 @@
        -e '/^HELPFILE:file/s@$(COMPRESS_EXT)$(COMPRESS_EXT)$$@$(COMPRESS_EXT)@' \
        $(LIBDIR)/lynx.tmp >$(LIBDIR)/lynx.cfg
    chmod 644 $(LIBDIR)/lynx.cfg
+   cp -p $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.cfg.sample
    -rm -f $(LIBDIR)/lynx.tmp
    $(INSTALL_DATA) $(srcdir)/COPYHEADER $(DOCDIR)/COPYHEADER
    $(INSTALL_DATA) $(srcdir)/COPYING    $(DOCDIR)/COPYING