]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Sun, 17 Aug 2003 07:49:10 +0000 (07:49 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 17 Aug 2003 07:49:10 +0000 (07:49 +0000)
ChangeLog
man/Makefile.in
src/Makefile.in
tests/tail-2/Makefile.in

index 747cb8e0a1caacfbbdbcdedccbf1ac4a3a041c3d..fe617eeeb8d7e6d00946f8cdf0c628eb54fc77c2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,6 +20,7 @@
        (tail_lines): Likewise, after lseek calls.
        Reported by Nick Estes.  See http://bugs.debian.org/205251 for details.
        * tests/tail-2/tail-n0f: New file.  Test for above fix.
+       * tests/tail-2/Makefile.am (TESTS): Add tail-n0f.
 
 2003-08-15  Jim Meyering  <jim@meyering.net>
 
index ef1d2dd64abbac4888a94cbeedaabf9e37b55566..552e615ab6a997bc5b7d7fb03102b04efbf75576 100644 (file)
@@ -481,13 +481,15 @@ yes.1:            $(common_dep)   $(srcdir)/yes.x         ../src/yes.c
 # That is necessary to avoid failures for programs that are also shell built-in
 # functions like echo, false, printf, pwd.
 .x.1:
+       @rm -f $@
        @echo "Updating man page $@";           \
        mkdir $t;                               \
        (cd $t && $(LN_S) ../../src/$(mapped_name)$(EXEEXT) $*$(EXEEXT)); \
        $(HELP2MAN)                             \
            --include=$(srcdir)/$*.x            \
-           --output=$@ $t/$*$(EXEEXT);         \
-       rm -rf $t
+           --output=$@ $t/$*$(EXEEXT)
+       @chmod a-w $@
+       @rm -rf $t
 
 check-local: check-x-vs-1 check-programs-vs-x
 
index 72979b9db1da8c3e25f41c727710e445b092ceb4..3db6e207639a18f109c9500ec61e85c7c7d6f1fc 100644 (file)
@@ -873,7 +873,7 @@ uninstall-binPROGRAMS:
        done
 
 clean-binPROGRAMS:
-       -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+       -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) > /dev/null 2>&1 || /bin/rm -f $(bin_PROGRAMS)
 
 installcheck-binPROGRAMS: $(bin_PROGRAMS)
        bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \
index a9a46cfa5eac747a29d6efc2d95e4764c3af367f..58750530caab8a79d874c3677a76767e8f16ceb6 100644 (file)
@@ -162,7 +162,10 @@ TESTS_ENVIRONMENT = \
   PROG=tail
 
 
-TESTS = big-4gb proc-ksyms start-middle assert assert-2
+TESTS = \
+  tail-n0f \
+  big-4gb proc-ksyms start-middle assert assert-2
+
 subdir = tests/tail-2
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs