]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(.x.1): Remove temp directory first.
authorJim Meyering <jim@meyering.net>
Thu, 13 Oct 2005 14:12:51 +0000 (14:12 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 13 Oct 2005 14:12:51 +0000 (14:12 +0000)
man/Makefile.am

index 667a3a3202fc1f10dac3df1bfffb44bd5521f79e..6ef030f64be846c685145d2a4692e0df1bf4e5ac 100644 (file)
@@ -127,6 +127,7 @@ mapped_name = `echo $*|sed 's/install/ginstall/; s/test/[/'`
 .x.1:
        @rm -f $@
        @echo "Updating man page $@";           \
+       rm -rf $t;                              \
        mkdir $t;                               \
        (cd $t && $(LN_S) ../../src/$(mapped_name) $*); \
        $(PERL) -- $(srcdir)/help2man           \