aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2010-11-01 11:44:15 -0400
committerOmair Majid <[email protected]>2010-11-01 11:44:15 -0400
commit5fc98068846ee4772b93d49a44b0f13b37f0baf1 (patch)
treed06148c24c0e93327172c348189508246881a746 /Makefile.am
parent11e8be3c480413ecd7f4007e3726e5ce586ed696 (diff)
allow running make clean multiple times
2010-11-01 Omair Majid <[email protected]> * Makefile.am (clean-IcedTeaPlugin): Only delete launcher directory if it exists.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3dfff47..d6b3c46 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -190,7 +190,9 @@ $(PLUGIN_DIR)/launcher/pluginappletviewer: $(PLUGIN_LAUNCHER_OBJECTS)
clean-IcedTeaPlugin:
rm -f $(PLUGIN_DIR)/launcher/*.o
rm -f $(PLUGIN_DIR)/launcher/pluginappletviewer
- rmdir $(PLUGIN_DIR)/launcher
+ if [ -e $(PLUGIN_DIR)/launcher ]; then \
+ rmdir $(PLUGIN_DIR)/launcher ; \
+ fi
rm -f $(PLUGIN_DIR)/*.o
rm -f $(PLUGIN_DIR)/IcedTeaPlugin.so
if [ $(abs_top_srcdir) != $(abs_top_builddir) ]; then \