[pve-devel] [PATCH cluster] buildsys: add phony deb target, make ${DEBS} non-phony

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Jun 29 14:54:02 CEST 2016


applied this

On Tue, Jun 28, 2016 at 03:15:18PM +0200, Wolfgang Bumiller wrote:
> ---
>  Makefile | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index ad6168e..0586cf4 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -21,8 +21,9 @@ cpgtest: cpgtest.c
>  dinstall: ${DEB}
>  	dpkg -i ${DEB} 
>  
> -.PHONY: ${DEB} ${DBG_DEB}
> -${DEB} ${DBG_DEB}:
> +.PHONY: deb
> +deb ${DEB} ${DBG_DEB}:
> +	rm -f *.deb
>  	rm -rf build
>  	rsync -a --exclude .svn data/ build
>  	cp -a debian build/debian
> -- 
> 2.1.4



More information about the pve-devel mailing list