]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
improve passing package version down
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 6 Jun 2020 16:05:20 +0000 (18:05 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 6 Jun 2020 16:05:20 +0000 (18:05 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
src/defines.mk

index f3bd2cf5046d9b07c92245b9261add3850683c11..aa8c0e3d2511d9a1c756e74789990fdd9c4b88c5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
 include /usr/share/dpkg/pkg-info.mk
+export DEB_VERSION_UPSTREAM_REVISION
 
 export PACKAGE=proxmox-widget-toolkit
 BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
index c07a4e1d91f298ff830c901db7d2cf9562231f99..d6bdd2c2afea980a513feefc03d9b4119eb18dbf 100644 (file)
@@ -1,5 +1,3 @@
--include /usr/share/dpkg/pkg-info.mk
-
 DESTDIR=
 DOCDIR=${DESTDIR}/usr/share/doc/${PACKAGE}
 WWWBASEDIR=${DESTDIR}/usr/share/javascript/${PACKAGE}