docs: use $(MKDIR_P), which we already check for in configure.in
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 13 Jan 2011 18:34:43 +0000 (18:34 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 14 Jan 2011 12:45:54 +0000 (12:45 +0000)
mkdir -p isn't 100% portable, whereas $(MKDIR_P) can either be mkdir -p,
install -d or (as a last resort) ./install-sh -d.

doc/Makefile.am

index 834da05..1a63825 100644 (file)
@@ -89,7 +89,7 @@ BONUS_FILES = \
 
 dbus-docs: $(STATIC_DOCS) $(HTML_FILES) $(MAN_HTML_FILES) $(BONUS_FILES) doxygen.stamp
        $(AM_V_at)rm -rf $@
-       $(AM_V_GEN)mkdir -p $@/api
+       $(AM_V_GEN)$(MKDIR_P) $@/api
        $(AM_V_at)cp $(STATIC_DOCS) $@
        $(AM_V_at)cp $(HTML_FILES) $@
        $(AM_V_at)cp $(MAN_HTML_FILES) $@