projects
/
pve-apiclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2689bc8
)
Get version information from changelog
author
Rhonda D'Vine
<rhonda@proxmox.com>
Fri, 28 Dec 2018 17:24:07 +0000
(18:24 +0100)
committer
Wolfgang Bumiller
<w.bumiller@proxmox.com>
Thu, 3 Jan 2019 07:49:52 +0000
(08:49 +0100)
The duplication of the version information both in the Makefile and in
debian/changelog is a potential error point, and an unneeded one.
Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 8269eae1c05caecbfa8825ac2065eef16c4ea8dc..c02ba14fa87b0ec8357ec078346cdeb22d638d2f 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,6
@@
PACKAGE=libpve-apiclient-perl
-PKGVER=
2.0
-PKGREL=
4
+PKGVER=
$(shell dpkg-parsechangelog -Sversion | cut -d- -f1)
+PKGREL=
$(shell dpkg-parsechangelog -Sversion | cut -d- -f2)
BUILDSRC := $(PACKAGE)-$(PKGVER)
DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb