chiark / gitweb /
Build: Kill $(mkdir_p); use $(MKDIR_P).
authorMark Wooding <mdw@distorted.org.uk>
Mon, 19 Apr 2010 21:00:59 +0000 (22:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 19 Apr 2010 21:43:18 +0000 (22:43 +0100)
Remove definition from vars.am; use MKDIR_P in Makefiles.

init/Makefile.am
vars.am

index a37214f..50583a8 100644 (file)
@@ -46,7 +46,7 @@ EXTRA_DIST            += tripe.conf
 ## Necessary directories.
 install-data-hook:
        for i in "$(configdir)" "$(socketdir)"; do \
-         case "$$i" in /*) $(mkdir_p) $(DESTDIR)$$i ;; esac; \
+         case "$$i" in /*) $(MKDIR_P) $(DESTDIR)$$i ;; esac; \
        done
 
 ###----- That's all, folks --------------------------------------------------
diff --git a/vars.am b/vars.am
index 245b98e..d4cdafb 100644 (file)
--- a/vars.am
+++ b/vars.am
@@ -51,9 +51,6 @@ CPPFLAGS += $(TRIPE_INCLUDES)
 libtripe = $(top_builddir)/common/libtripe.a
 libpriv = $(top_builddir)/priv/libpriv.a
 
-## Create a directory if it doesn't exist.
-mkdir_p = $(top_srcdir)/config/install-sh -d
-
 ## Substitute tags in files.
 confsubst = $(top_srcdir)/config/confsubst