]> git.proxmox.com Git - pve-manager.git/commitdiff
buildsys: make job safety
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 7 Feb 2017 14:38:33 +0000 (15:38 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 13 Mar 2017 13:18:21 +0000 (14:18 +0100)
Makefile

index 96d02470f04608340fd3f6a860e4b19cb5922ddf..7eac60d039c581162d3f7094ea6439c3350d992a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,8 +24,9 @@ dinstall: ${DEB}
 country.dat: country.pl
        ./country.pl > country.dat
 
-.PHONY: ${DEB}
-${DEB} deb:
+.PHONY: deb
+deb: $(DEB)
+$(DEB):
        make clean
        rm -rf dest
        mkdir dest
@@ -41,8 +42,8 @@ ${DEB} deb:
        install -m 0755 debian/postrm dest/DEBIAN
        install -m 0644 debian/triggers dest/DEBIAN
        echo "git clone git://git.proxmox.com/git/pve-manager.git\\ngit checkout ${GITVERSION}" >  dest/usr/share/doc/${PACKAGE}/SOURCE
-       gzip --best dest/usr/share/man/*/*
-       gzip --best dest/usr/share/doc/${PACKAGE}/changelog.Debian
+       gzip -n --best dest/usr/share/man/*/*
+       gzip -n --best dest/usr/share/doc/${PACKAGE}/changelog.Debian
        dpkg-deb --build dest
        mv dest.deb ${DEB}
        rm -rf dest