diff options
author | Niels de Vos <ndevos@redhat.com> | 2015-11-09 13:04:03 +0100 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-11-10 00:57:44 -0800 |
commit | 4ac2ff18db62db192c49affd8591e846c810667a (patch) | |
tree | 4699af588c149d334e48124adcbbd607643d0110 /extras/init.d | |
parent | 066a45d76021bfda09bdb57108d677eae7eba92b (diff) |
build: MKDIR_P is not defined for Makefiles, use mkdir_p instead
Change-Id: Id6d5263eb7b1c53e72a7668e716e9cc4e34b82cd
Reported-by: Milind Changire <mchangir@redhat.com>
BUG: 1198849
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/12553
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'extras/init.d')
-rw-r--r-- | extras/init.d/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/init.d/Makefile.am b/extras/init.d/Makefile.am index 347545fe520..8c43e513d77 100644 --- a/extras/init.d/Makefile.am +++ b/extras/init.d/Makefile.am @@ -9,7 +9,7 @@ LAUNCHD_DIR = @launchddir@ $(GF_DISTRIBUTION): @if [ ! -d $(SYSTEMD_DIR) ]; then \ - $(MKDIR_P) $(DESTDIR)$(INIT_DIR); \ + $(mkdir_p) $(DESTDIR)$(INIT_DIR); \ $(INSTALL_PROGRAM) glusterd-$(GF_DISTRIBUTION) $(DESTDIR)$(INIT_DIR)/glusterd; \ fi @@ -17,6 +17,6 @@ install-exec-local: $(GF_DISTRIBUTION) install-data-local: if GF_DARWIN_HOST_OS - $(MKDIR_P) $(DESTDIR)$(LAUNCHD_DIR) + $(mkdir_p) $(DESTDIR)$(LAUNCHD_DIR) $(INSTALL_PROGRAM) glusterd.plist $(DESTDIR)$(LAUNCHD_DIR)/org.gluster.glusterd.plist endif |