]> git.proxmox.com Git - qemu-server.git/commitdiff
buildsys: use $(MAKE) instead of make
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 24 Sep 2019 16:06:16 +0000 (18:06 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 24 Sep 2019 16:06:16 +0000 (18:06 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
PVE/API2/Makefile
PVE/Makefile

index b9ed578626334414bff5ce557fa64adc158e44f4..9bb92c7cbc4b95c9b33715653292c9886be26866 100644 (file)
--- 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 {} ';'
 
index c2d01bef9395830a62ae89ab56cf4f05c0b641f0..e64cf1c24a423ff82ec587cbee5183c810afa592 100644 (file)
@@ -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
index 2c800f66f8dda84c053cde21873a00a4c6076f39..dc1736814eaa7067f3e8f9a7f501bb37bba213af 100644 (file)
@@ -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