X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=3ee98e560e5cdfae3dbec0b5c5cc53b54db6d535;hp=476a7474a523c1f3fde5934b6be3c7fabcd4dab8;hb=fb1391aae72dac4519e3d66c232d0785e59d2209;hpb=89a3d8347de74de95104c104834324724b71c0a4 diff --git a/Makefile b/Makefile index 476a747..3ee98e5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -RELEASE=3.2 +RELEASE=4.2 -VERSION=3.0 -PKGREL=18 +VERSION=4.0 +PKGREL=70 PACKAGE=libpve-common-perl @@ -25,9 +25,10 @@ dinstall: deb .PHONY: deb -deb ${DEB}: +deb ${DEB}: + $(MAKE) -C test check rm -rf build - rsync -a data/ build + rsync -a src/ build rsync -a debian/ build/debian echo "git clone git://git.proxmox.com/git/pve-common.git\\ngit checkout ${GITVERSION}" > build/debian/SOURCE cd build; dpkg-buildpackage -rfakeroot -b -us -uc @@ -40,14 +41,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