From eb89d4f8f603a83e1dd6e66ef644d8f7d954f187 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sat, 14 Apr 2012 07:58:49 +0200 Subject: [PATCH] [Makefile] use install -d instead of mkdir --- Makefile | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 27f7a27fe..0940baa33 100644 --- a/Makefile +++ b/Makefile @@ -15,14 +15,14 @@ clean: entropy-install: - mkdir -p $(DESTDIR)/$(LIBDIR)/entropy/lib - mkdir -p $(DESTDIR)$(PREFIX)/sbin - mkdir -p $(DESTDIR)$(BINDIR) - mkdir -p $(DESTDIR)/etc/entropy - mkdir -p $(DESTDIR)/etc/env.d - mkdir -p $(DESTDIR)/etc/init.d - mkdir -p $(DESTDIR)/etc/logrotate.d - mkdir -p $(DESTDIR)/$(LIBDIR)/entropy/services + install -d $(DESTDIR)/$(LIBDIR)/entropy/lib + install -d $(DESTDIR)$(PREFIX)/sbin + install -d $(DESTDIR)$(BINDIR) + install -d $(DESTDIR)/etc/entropy + install -d $(DESTDIR)/etc/env.d + install -d $(DESTDIR)/etc/init.d + install -d $(DESTDIR)/etc/logrotate.d + install -d $(DESTDIR)/$(LIBDIR)/entropy/services cp lib/entropy $(DESTDIR)/$(LIBDIR)/entropy/lib/ -Ra ln -sf lib $(DESTDIR)/$(LIBDIR)/entropy/libraries @@ -50,11 +50,11 @@ entropy-install: equo-install: - mkdir -p $(DESTDIR)/$(LIBDIR)/entropy/client - mkdir -p $(DESTDIR)/etc/portage - mkdir -p $(DESTDIR)/etc/entropy - mkdir -p $(DESTDIR)$(BINDIR) - mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 + install -d $(DESTDIR)/$(LIBDIR)/entropy/client + install -d $(DESTDIR)/etc/portage + install -d $(DESTDIR)/etc/entropy + install -d $(DESTDIR)$(BINDIR) + install -d $(DESTDIR)$(PREFIX)/share/man/man1 # copying portage bashrc install -m 644 conf/bashrc.entropy $(DESTDIR)/etc/portage/bashrc.entropy @@ -69,7 +69,7 @@ equo-install: install -m 644 docs/man/man1/equo.1 $(DESTDIR)$(PREFIX)/share/man/man1/ # copy zsh completion - mkdir -p $(DESTDIR)$(PREFIX)/share/zsh/site-functions + install -d $(DESTDIR)$(PREFIX)/share/zsh/site-functions install -m 644 conf/_equo $(DESTDIR)$(PREFIX)/share/zsh/site-functions/