mirror of
git://git.proxmox.com/git/pve-apiclient.git
synced 2024-12-22 17:34:22 +03:00
use dpkg's packaging variable makefile fragment
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6920b2fe63
commit
7147fbfef7
13
Makefile
13
Makefile
@ -1,13 +1,12 @@
|
||||
PACKAGE=libpve-apiclient-perl
|
||||
PKGVER=$(shell dpkg-parsechangelog -Sversion | cut -d- -f1)
|
||||
PKGREL=$(shell dpkg-parsechangelog -Sversion | cut -d- -f2)
|
||||
include /usr/share/dpkg/default.mk
|
||||
|
||||
BUILDSRC := $(PACKAGE)-$(PKGVER)
|
||||
DEB=$(PACKAGE)_$(PKGVER)-$(PKGREL)_all.deb
|
||||
DSC=$(PACKAGE)_$(PKGVER)-$(PKGREL).dsc
|
||||
PACKAGE=libpve-apiclient-perl
|
||||
|
||||
BUILDSRC := $(PACKAGE)-$(DEB_VERSION)
|
||||
DEB=$(PACKAGE)_$(DEB_VERSION)_all.deb
|
||||
DSC=$(PACKAGE)_$(DEB_VERSION).dsc
|
||||
|
||||
DESTDIR=
|
||||
|
||||
PERL5DIR=$(DESTDIR)/usr/share/perl5
|
||||
DOCDIR=$(DESTDIR)/usr/share/doc/$(PACKAGE)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user