aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-06-04 17:20:41 +0200
committerDee'Kej <deekej@linuxmail.org>2018-06-14 16:19:10 +0200
commitb4415e9412b70469cac961b1ebde8d94b93a26a6 (patch)
tree514ae69b25c7b17ed7d9d35c07f09a0859fa0050
parentf5e4588e0e73046ed0995c148e8a4619b9ba69fb (diff)
downloadinitscripts-b4415e9412b70469cac961b1ebde8d94b93a26a6.tar
initscripts-b4415e9412b70469cac961b1ebde8d94b93a26a6.tar.gz
initscripts-b4415e9412b70469cac961b1ebde8d94b93a26a6.tar.bz2
initscripts-b4415e9412b70469cac961b1ebde8d94b93a26a6.tar.xz
initscripts-b4415e9412b70469cac961b1ebde8d94b93a26a6.zip
Makefile: allow sub-makefiles to run in parallel
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 24d6bbe3..ae9f571b 100644
--- a/Makefile
+++ b/Makefile
@@ -39,10 +39,10 @@ all: make-binaries make-translations
make-binaries:
- make -C src
+ $(MAKE) -C src
make-translations:
- make -C po
+ $(MAKE) -C po
# NOTE: We are no longer installing into /usr/sbin directory, because this is
@@ -53,11 +53,11 @@ install: install-binaries install-translations install-etc install-usr install-n
install-binaries:
- make install -C src DESTDIR=$(DESTDIR) prefix=$(prefix) bindir=$(bindir) libdir=$(libdir)
+ $(MAKE) install -C src DESTDIR=$(DESTDIR) prefix=$(prefix) bindir=$(bindir) libdir=$(libdir)
install-translations:
- make install -C po DESTDIR=$(DESTDIR) prefix=$(prefix) bindir=$(bindir) libdir=$(libdir) \
- datarootdir=$(datarootdir) datadir=$(datadir) sysconfdir=$(sysconfdir)
+ $(MAKE) install -C po DESTDIR=$(DESTDIR) prefix=$(prefix) bindir=$(bindir) libdir=$(libdir) \
+ datarootdir=$(datarootdir) datadir=$(datadir) sysconfdir=$(sysconfdir)
# NOTE: We are removing auxiliary symlink at the beginning.
@@ -101,8 +101,8 @@ install-post: install-etc
chmod 0755 $(DESTDIR)$(sysconfdir)/rc.d/rc.local
clean:
- make clean -C src
- make clean -C po
+ $(MAKE) clean -C src
+ $(MAKE) clean -C po
@find . -name "*~" -exec rm -v -f {} \;
tag: