X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=f556eadb2096d6ebe38e307e7cd634283d5ad73b;hb=d8ff724d8d54d4f7022bc863a45866ade92755b2;hp=457521afe9edca535fae5375a21d46c63868f744;hpb=863ecf89c88e4dc17fef053abb07c658cd6b7e43;p=pve-http-server.git diff --git a/Makefile b/Makefile index 457521a..f556ead 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PACKAGE=libpve-http-server-perl -PKGVER=1.0 -PKGREL=4 +PKGVER=2.0 +PKGREL=13 DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb @@ -31,7 +31,8 @@ JQSRC=jquery-${JQVER}.min.js all: .PHONY: deb -deb ${DEB}: +deb: ${DEB} +${DEB}: rm -rf build rsync -a * build cd build; dpkg-buildpackage -b -us -uc @@ -56,6 +57,7 @@ install: ${BTDATA} install -d -m 755 ${PERL5DIR}/PVE/APIServer install -m 0644 PVE/APIServer/AnyEvent.pm ${PERL5DIR}/PVE/APIServer install -m 0644 PVE/APIServer/Formatter.pm ${PERL5DIR}/PVE/APIServer + install -m 0644 PVE/APIServer/Utils.pm ${PERL5DIR}/PVE/APIServer install -d -m 755 ${PERL5DIR}/PVE/APIServer/Formatter install -m 0644 PVE/APIServer/Formatter/Standard.pm ${PERL5DIR}/PVE/APIServer/Formatter install -m 0644 PVE/APIServer/Formatter/Bootstrap.pm ${PERL5DIR}/PVE/APIServer/Formatter @@ -74,13 +76,13 @@ install: ${BTDATA} .PHONY: upload upload: ${DEB} - tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload + tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist stretch distclean: clean rm -f examples/simple-demo.pem clean: - rm -rf ./build *.deb *.changes ${BTDIR} examples/simple-demo.lck + rm -rf ./build *.deb *.changes *.buildinfo ${BTDIR} examples/simple-demo.lck find . -name '*~' -exec rm {} ';' .PHONY: dinstall