]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
buildsys: make job safety
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 6 Feb 2017 14:32:34 +0000 (15:32 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 6 Feb 2017 14:32:34 +0000 (15:32 +0100)
Makefile

index 98f644fdd1137e756a1cea5a10e86988ece57049..286d48e5967bd1b092b12cf32c724e66cc07ac4e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,12 +14,13 @@ SIMDEB=${SIMPACKAGE}_${VERSION}-${PKGREL}_all.deb
 all: ${DEB} ${SIMDEB}
 
 .PHONY: dinstall simdeb
-dinstall: deb simdeb
+dinstall: $(DEB) $(SIMDEB)
        dpkg -i ${DEB} ${SIMDEB}
 
 
-.PHONY: simdeb ${SIMDEB}
-simdeb ${SIMDEB}:
+.PHONY: simdeb
+simdeb: ${SIMDEB}
+${SIMDEB}:
        rm -rf build
        mkdir build
        rsync -a src/ build
@@ -29,8 +30,9 @@ simdeb ${SIMDEB}:
        cd build; dpkg-buildpackage -rfakeroot -b -us -uc
        lintian ${SIMDEB}
 
-.PHONY: deb ${DEB}
-deb ${DEB}:
+.PHONY: deb
+deb: ${DEB}
+${DEB}:
        rm -rf build
        mkdir build
        rsync -a src/ build