On Thu, Jun 14, 2018 at 10:03:54AM +0200, Dietmar Maurer wrote: > Signed-off-by: Dietmar Maurer <diet...@proxmox.com> > --- > Makefile | 7 +++++ > PVE/APIClient/Exception.pm | 66 > +++++++++++++++++++++++++++++++++++++++------- > 2 files changed, 64 insertions(+), 9 deletions(-) > > diff --git a/Makefile b/Makefile > index ad1efda..ec67f2d 100644 > --- a/Makefile > +++ b/Makefile > @@ -9,6 +9,9 @@ DESTDIR= > PERL5DIR=${DESTDIR}/usr/share/perl5 > DOCDIR=${DESTDIR}/usr/share/doc/${PACKAGE} > > +PVE_COMMON_FILES= \ > + Exception.pm > + > all: ${DEB} > > .PHONY: deb > @@ -27,6 +30,10 @@ install: > install -m 0755 examples/example2.pl ${DOCDIR}/examples > install -m 0755 examples/perftest1.pl ${DOCDIR}/examples > > +update-pve-common: > + for i in ${PVE_COMMON_FILES}; do cp ../pve-common/src/PVE/$$i > PVE/APIClient/; done
*ahem*... can't we use /usr/share/perl5/PVE or wget from git.proxmox.com or a temporary shallow git clone...? _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel