[pve-devel] [PATCH pve-apiclient] add make target to copy and include files from pve-common - update Exception.pm

Dietmar Maurer dietmar at proxmox.com
Thu Jun 14 11:42:16 CEST 2018


> > +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...?

Sure, if you think that is easier ...




More information about the pve-devel mailing list