From 94791efabb14bad59a162b8e4ae1c08831392630 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 2 Jun 2021 16:10:58 +0200 Subject: [PATCH] buildsys: cleanup variable names/grouping Signed-off-by: Thomas Lamprecht --- Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 0060296..ce8aa0a 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