]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: port manpages generation to VPATH builds
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 31 Aug 2012 23:46:58 +0000 (01:46 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 1 Sep 2012 19:28:12 +0000 (21:28 +0200)
* man/local.mk (.x.1): Use '$(MKDIR_P)' rather than bare 'mkdir'
where appropriate.  Reported by Jim Meyering.

man/local.mk

index 3074511107058b78fadeb31ee15dff36363bc723..8904eb5a4c40cf5a76fa021a3fd233151ba119b7 100644 (file)
@@ -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)'                       \