[lttng-dev] [PATCH lttng-ust] Add parameter -f to rm in Makefile clean target

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Wed May 22 13:24:06 EDT 2013


* Simon Marchi (simon.marchi at polymtl.ca) wrote:
> If the files we want to delete do not exist (for example after a failed
> build), the make clean fails.

merged, thanks!

Mathieu

> 
> Signed-off-by: Simon Marchi <simon.marchi at polymtl.ca>
> ---
>  liblttng-ust-java/Makefile.am | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/liblttng-ust-java/Makefile.am b/liblttng-ust-java/Makefile.am
> index 4c998dc..57b9532 100644
> --- a/liblttng-ust-java/Makefile.am
> +++ b/liblttng-ust-java/Makefile.am
> @@ -11,8 +11,8 @@ liblttng_ust_java_la_LIBADD = -lc -L$(top_builddir)/liblttng-ust/.libs -llttng-u
>  all: LTTngUst.class org_lttng_ust_LTTngUst.h liblttng-ust-java.jar
>  
>  clean-local:
> -	rm org_lttng_ust_LTTngUst.h
> -	rm liblttng-ust-java.jar
> +	rm -f org_lttng_ust_LTTngUst.h
> +	rm -f liblttng-ust-java.jar
>  	rm -rf org/
>  
>  LTTngUst.c: org_lttng_ust_LTTngUst.h
> -- 
> 1.8.1.2
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list