X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=5f8970a6d3dfd34cc5cb2f6785644af3c10d9cdd;hp=ec6588440adc541c675162d6ca9393875a4ad451;hb=7278cb3c1249e325726d3d9968bba1564cac3832;hpb=4808fea7c0d04336d7440526ec769904b381ead1 diff --git a/Makefile b/Makefile index ec65884..5f8970a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,5 @@ -RELEASE=4.0 - VERSION=4.0 -PKGREL=3 +PKGREL=86 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 @@ -40,14 +39,11 @@ clean: .PHONY: distclean distclean: clean +.PHONY: check +check: + $(MAKE) -C test 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