diff --git a/Makefile b/Makefile index b9ed5786..9bb92c7c 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,7 @@ install: ${PKGSOURCES} install -m 0644 -D qm.zsh-completion ${DESTDIR}/${ZSHCOMPLDIR}/_qm install -m 0644 -D qmrestore.zsh-completion ${DESTDIR}/${ZSHCOMPLDIR}/_qmrestore install -m 0644 -D bootsplash.jpg ${DESTDIR}/usr/share/${PACKAGE} - make -C PVE install + $(MAKE) -C PVE install install -m 0755 qm ${DESTDIR}${SBINDIR} install -m 0755 qmrestore ${DESTDIR}${SBINDIR} install -m 0755 qmeventd ${DESTDIR}${SBINDIR} @@ -112,7 +112,7 @@ ${DEB}: .PHONY: test test: PVE_GENERATING_DOCS=1 perl -I. ./qm verifyapi - make -C test + $(MAKE) -C test .PHONY: upload upload: ${DEB} @@ -120,7 +120,7 @@ upload: ${DEB} .PHONY: clean clean: - make cleanup-docgen + $(MAKE) cleanup-docgen rm -rf build *.deb *.buildinfo *.changes qmeventd find . -name '*~' -exec rm {} ';' diff --git a/PVE/API2/Makefile b/PVE/API2/Makefile index c2d01bef..e64cf1c2 100644 --- a/PVE/API2/Makefile +++ b/PVE/API2/Makefile @@ -2,4 +2,4 @@ install: install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/API2 install -D -m 0644 Qemu.pm ${DESTDIR}${PERLDIR}/PVE/API2/Qemu.pm - make -C Qemu install + $(MAKE) -C Qemu install diff --git a/PVE/Makefile b/PVE/Makefile index 2c800f66..dc173681 100644 --- a/PVE/Makefile +++ b/PVE/Makefile @@ -8,7 +8,7 @@ PERLSOURCE = \ install: install -d ${DESTDIR}${PERLDIR}/PVE install -m 0644 ${PERLSOURCE} ${DESTDIR}${PERLDIR}/PVE/ - make -C VZDump install - make -C API2 install - make -C CLI install - make -C QemuServer install + $(MAKE) -C VZDump install + $(MAKE) -C API2 install + $(MAKE) -C CLI install + $(MAKE) -C QemuServer install