summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-09-01 01:46:58 +0200
committerJim Meyering <meyering@redhat.com>2012-09-01 21:28:12 +0200
commit5b335a256e020831883a2a74298a48b4c83b253a (patch)
tree88acea6ea7473c9b96101c34f146bc4f13f30b2e /man
parent246fc2ba8d9ec5fb7ca1b2f47082f68d945e67e9 (diff)
downloadcoreutils-5b335a256e020831883a2a74298a48b4c83b253a.tar.xz
maint: port manpages generation to VPATH builds
* man/local.mk (.x.1): Use '$(MKDIR_P)' rather than bare 'mkdir' where appropriate. Reported by Jim Meyering.
Diffstat (limited to 'man')
-rw-r--r--man/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/local.mk b/man/local.mk
index 307451110..8904eb5a4 100644
--- a/man/local.mk
+++ b/man/local.mk
@@ -178,7 +178,7 @@ man/yes.1: src/yes.c
rm -f $@ $@-t \
&& t=$*.td \
&& rm -rf $$t \
- && mkdir $$t \
+ && $(MKDIR_P) $$t \
&& (cd $$t && $(LN_S) $(abs_top_builddir)/src/$$prog $$name) \
&& $(PERL) -- $(srcdir)/man/help2man \
--source='$(PACKAGE_STRING)' \