X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=eacdd010c3555e675179bd21b4c274aba62a5940;hb=80ea69b416986455622821a4e8c6b74c19ca9362;hp=0060296534805ef7beefb320fd1095138348e8ed;hpb=ed9ae47edda0702df0876eb3359dc7141d65f5bc;p=proxmox-widget-toolkit.git diff --git a/Makefile b/Makefile index 0060296..eacdd01 100644 --- a/Makefile +++ b/Makefile @@ -2,14 +2,16 @@ include /usr/share/dpkg/pkg-info.mk export DEB_VERSION_UPSTREAM_REVISION export PACKAGE=proxmox-widget-toolkit -BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM} -WT_DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb -WT_DEV_DEB=${PACKAGE}-dev_${DEB_VERSION_UPSTREAM_REVISION}_all.deb -DEBS=${WT_DEB} ${WT_DEV_DEB} + +DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb +DEV_DEB=${PACKAGE}-dev_${DEB_VERSION_UPSTREAM_REVISION}_all.deb + +DEBS=${DEB} ${DEV_DEB} DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc -GITVERSION:=$(shell git rev-parse HEAD) +BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM} +${BUILDDIR}: GITVERSION:=$(shell git rev-parse HEAD) ${BUILDDIR}: rm -rf ${BUILDDIR} ${BUILDDIR}.tmp cp -a src/ ${BUILDDIR}.tmp @@ -35,8 +37,8 @@ lint: ${JSSRC} .PHONY: upload upload: ${DEBS} - tar cf - ${WT_DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist buster - tar cf - ${WT_DEV_DEB} | ssh -X repoman@repo.proxmox.com -- upload --product devel --dist buster + tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bullseye + tar cf - ${DEV_DEB} | ssh -X repoman@repo.proxmox.com -- upload --product devel --dist bullseye distclean: clean clean: