we do not really need two rm calls here

This commit is contained in:
David Tardon 2011-10-03 06:58:21 +02:00
parent d793da55d3
commit 26eae8c557

View file

@ -48,8 +48,8 @@ $(call gb_ExternalLib_get_clean_target,$(1)) :
$$(call gb_Output_announce,$(1),$(false),MAK,3)
$$(call gb_Helper_abbreviate_dirs,\
if test -f $$(call gb_ExternalLib_get_builddir,$(1))/Makefile ; then cd $$(call gb_ExternalLib_get_builddir,$(1)) && make uninstall ; fi ; \
rm -f $$(call gb_ExternalLib_get_target,$(1)) ; \
rm -rf $(call gb_ExternalLib_get_workdir,$(1)))
rm -rf $$(call gb_ExternalLib_get_target,$(1)) \
$(call gb_ExternalLib_get_workdir,$(1)))
else
$$(call gb_Output_error,$(2) is not a supported ExternalLib mode)