X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=08bc54dcd0d366d0ed392ee944cdf9fe334dd151;hp=47fa8fcd3c1c16c5df8002a0a14f60182839c1d0;hb=2b4582cb92982f355585e9bb0f93b2d920764252;hpb=936218b86f0a370dc78a378b7f87cfc5b4efc450 diff --git a/Makefile b/Makefile index 47fa8fc..08bc54d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,5 @@ -RELEASE=4.0 - VERSION=4.0 -PKGREL=8 +PKGREL=87 PACKAGE=libpve-common-perl @@ -25,7 +23,8 @@ dinstall: deb .PHONY: deb -deb ${DEB}: +deb ${DEB}: + $(MAKE) -C test check rm -rf build rsync -a src/ build rsync -a debian/ build/debian @@ -46,11 +45,5 @@ check: .PHONY: upload upload: ${DEB} - umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw - mkdir -p /pve/${RELEASE}/extra - rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb - rm -f /pve/${RELEASE}/extra/Packages* - cp ${DEB} /pve/${RELEASE}/extra - cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz - umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro + tar cf - ${DEB}|ssh repoman@repo.proxmox.com upload