buildsys: use $(MAKE) instead of make

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-09-24 18:06:16 +02:00
parent 89e50385a8
commit 64e7017e44
3 changed files with 8 additions and 8 deletions

View File

@ -83,7 +83,7 @@ install: ${PKGSOURCES}
install -m 0644 -D qm.zsh-completion ${DESTDIR}/${ZSHCOMPLDIR}/_qm install -m 0644 -D qm.zsh-completion ${DESTDIR}/${ZSHCOMPLDIR}/_qm
install -m 0644 -D qmrestore.zsh-completion ${DESTDIR}/${ZSHCOMPLDIR}/_qmrestore install -m 0644 -D qmrestore.zsh-completion ${DESTDIR}/${ZSHCOMPLDIR}/_qmrestore
install -m 0644 -D bootsplash.jpg ${DESTDIR}/usr/share/${PACKAGE} 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 qm ${DESTDIR}${SBINDIR}
install -m 0755 qmrestore ${DESTDIR}${SBINDIR} install -m 0755 qmrestore ${DESTDIR}${SBINDIR}
install -m 0755 qmeventd ${DESTDIR}${SBINDIR} install -m 0755 qmeventd ${DESTDIR}${SBINDIR}
@ -112,7 +112,7 @@ ${DEB}:
.PHONY: test .PHONY: test
test: test:
PVE_GENERATING_DOCS=1 perl -I. ./qm verifyapi PVE_GENERATING_DOCS=1 perl -I. ./qm verifyapi
make -C test $(MAKE) -C test
.PHONY: upload .PHONY: upload
upload: ${DEB} upload: ${DEB}
@ -120,7 +120,7 @@ upload: ${DEB}
.PHONY: clean .PHONY: clean
clean: clean:
make cleanup-docgen $(MAKE) cleanup-docgen
rm -rf build *.deb *.buildinfo *.changes qmeventd rm -rf build *.deb *.buildinfo *.changes qmeventd
find . -name '*~' -exec rm {} ';' find . -name '*~' -exec rm {} ';'

View File

@ -2,4 +2,4 @@
install: install:
install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/API2 install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/API2
install -D -m 0644 Qemu.pm ${DESTDIR}${PERLDIR}/PVE/API2/Qemu.pm install -D -m 0644 Qemu.pm ${DESTDIR}${PERLDIR}/PVE/API2/Qemu.pm
make -C Qemu install $(MAKE) -C Qemu install

View File

@ -8,7 +8,7 @@ PERLSOURCE = \
install: install:
install -d ${DESTDIR}${PERLDIR}/PVE install -d ${DESTDIR}${PERLDIR}/PVE
install -m 0644 ${PERLSOURCE} ${DESTDIR}${PERLDIR}/PVE/ install -m 0644 ${PERLSOURCE} ${DESTDIR}${PERLDIR}/PVE/
make -C VZDump install $(MAKE) -C VZDump install
make -C API2 install $(MAKE) -C API2 install
make -C CLI install $(MAKE) -C CLI install
make -C QemuServer install $(MAKE) -C QemuServer install