diff options
-rw-r--r-- | CHANGES | 8 | ||||
-rw-r--r-- | makefile.in | 38 |
2 files changed, 15 insertions, 31 deletions
diff --git a/CHANGES b/CHANGES index 32787a9a..617b21b2 100644 --- a/CHANGES +++ b/CHANGES @@ -1,9 +1,13 @@ --- $LynxId: CHANGES,v 1.740 2014/02/21 01:20:21 Thomas.Klausner Exp $ +-- $LynxId: CHANGES,v 1.741 2014/03/09 12:41:10 tom Exp $ =============================================================================== Changes since Lynx 2.8 release =============================================================================== -2014-02-14 (2.8.8rel.2) +2014-03-09 (2.8.8rel.2) +* drop unused save/compress rules from makefile.in, because fixing umask for + these is pointless -TD +* modify makefile.in to establish sane umask value in the "install-doc" rule + (report by Rajeev V Pillai) -TD * build-fix for NetBSD, whose curses library provides use_default_colors(), but the package turns off the keymap feature (patch by Thomas Klausner). diff --git a/makefile.in b/makefile.in index 12980e37..57a5e919 100644 --- a/makefile.in +++ b/makefile.in @@ -1,4 +1,4 @@ -# $LynxId: makefile.in,v 1.144 2014/02/21 01:18:50 tom Exp $ +# $LynxId: makefile.in,v 1.145 2014/03/09 12:42:50 tom Exp $ ##makefile for lynx SHELL = @CONFIG_SHELL@ @@ -238,10 +238,8 @@ help: @echo "Please run make with one of the following arguments" @echo "all -- to make the executable, put it in this directory" @echo "clean -- removes all '$o' and 'core' files" + @echo "distclean -- removes all generated files" @echo "depend -- use makedepend to generate header-dependencies" - @echo "tar -- runs clean, removes executable, and tars the whole directory" - @echo "compress -- runs tar, then compresses the result" - @echo "zip -- runs clean, removes executable, and zips the whole directory" @echo ##Miscellaneous actions @@ -283,29 +281,6 @@ maintainer-clean: distclean -rm -rf WWW/Library/*/obsolete -rm -f Lynx.prj .*_aux -tar: clean - rm -f lynx$x - $(MAKE) save - -turnover: clean - $(MAKE) save - -zipcompress: compress zip - echo "done!" - -zip: clean - rm -f $(SRC_DIR)/lynx$x - rm -f lynx$x - rm -f $(SRC_DIR)/a.out - rm -f ../$(lynxname).zip - cd ..; rm -f $(lynxname).zip; zip -r $(lynxname).zip $(lynxdir) - -save: - cd ..; rm -f $(lynxname).tar; $(TAR_UP) $(lynxdir) > $(lynxname).tar - -compress: tar - cd ..; rm -f $(lynxname).tar.Z; compress -f -v $(lynxname).tar - # Directory containing reference source for patch generation, # either absolute or relative to $(top_srcdir)/.. REFDIR=orig/$(lynxdir) @@ -348,8 +323,13 @@ install-man : $(MANDIR) install-doc : $(DOCDIR) $(HELPDIR) @echo Copying sample files - (cd $(srcdir) && $(TAR_UP) C[HO]* PROBLEMS README docs samples test ) | \ - ( cd $(DOCDIR) && chmod -R u+w . && $(TAR_DOWN) ) + $(SHELL) -c '\ + ( umask 022; \ + cd $(srcdir) && \ + $(TAR_UP) C[HO]* PROBLEMS README docs samples test ) | \ + ( umask 022; \ + cd $(DOCDIR) && \ + chmod -R u+w . && $(TAR_DOWN) )' $(SHELL) -c 'if test "$(COMPRESS_PROG)" != "" ; then \ (cd $(DOCDIR) && $(COMPRESS_PROG) -f docs/CHANGES*.[0-9] docs/*.announce ) \ fi' |