mirror of
https://git.proxmox.com/git/proxmox-perl-rs
synced 2025-05-24 17:27:08 +00:00

just install all files, `make gen` at the top level is responsible for generating the correct files Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
30 lines
840 B
Makefile
30 lines
840 B
Makefile
include /usr/share/dpkg/default.mk
|
|
|
|
PACKAGE=libproxmox-rs-perl
|
|
|
|
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
|
export GITVERSION:=$(shell git rev-parse HEAD)
|
|
|
|
PERL_INSTALLVENDORARCH != perl -MConfig -e 'print $$Config{installvendorarch};'
|
|
PERL_INSTALLVENDORLIB != perl -MConfig -e 'print $$Config{installvendorlib};'
|
|
|
|
DEB=${PACKAGE}_${DEB_VERSION}_${ARCH}.deb
|
|
|
|
DESTDIR=
|
|
|
|
all:
|
|
true
|
|
|
|
.PHONY: install
|
|
install:
|
|
install -d -m755 $(DESTDIR)$(PERL_INSTALLVENDORLIB)
|
|
find PVE \! -type d -print -exec install -Dm644 '{}' $(DESTDIR)$(PERL_INSTALLVENDORLIB)'/{}' ';'
|
|
find Proxmox \! -type d -print -exec install -Dm644 '{}' $(DESTDIR)$(PERL_INSTALLVENDORLIB)'/{}' ';'
|
|
rm $(DESTDIR)$(PERL_INSTALLVENDORLIB)'/Proxmox/Lib/template.pm'
|
|
|
|
.PHONY: deb
|
|
deb: $(DEB)
|
|
$(DEB): build
|
|
cd build; dpkg-buildpackage -b -us -uc --no-pre-clean
|
|
lintian $(DEBS)
|