diff options
author | Jim Meyering <jim@meyering.net> | 2003-08-17 07:49:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-08-17 07:49:10 +0000 |
commit | 1ead947b798b757c98b29ec188872ec0c1fff916 (patch) | |
tree | 406d21f456f76227e41a2a3059a5334c162ee4a6 /man/Makefile.in | |
parent | d69f5304abe9f42a6279fcae7b9c8046fdcd7b88 (diff) | |
download | coreutils-1ead947b798b757c98b29ec188872ec0c1fff916.tar.xz |
.
Diffstat (limited to 'man/Makefile.in')
-rw-r--r-- | man/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/man/Makefile.in b/man/Makefile.in index ef1d2dd64..552e615ab 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -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 |