From: Simon Marchi Date: Wed, 22 May 2013 17:22:56 +0000 (-0400) Subject: Add parameter -f to rm in Makefile clean target X-Git-Tag: v2.2.0-rc3~11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=996aeadece97a55e7f48ca1e73958a53de62ed4f;p=lttng-ust.git Add parameter -f to rm in Makefile clean target If the files we want to delete do not exist (for example after a failed build), the make clean fails. Signed-off-by: Simon Marchi Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust-java/Makefile.am b/liblttng-ust-java/Makefile.am index 4c998dcb..57b95323 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