From 1ead947b798b757c98b29ec188872ec0c1fff916 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 17 Aug 2003 07:49:10 +0000 Subject: . --- man/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'man') 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 -- cgit v1.2.3-54-g00ecf