diff options
author | Omair Majid <[email protected]> | 2010-11-01 11:44:15 -0400 |
---|---|---|
committer | Omair Majid <[email protected]> | 2010-11-01 11:44:15 -0400 |
commit | 5fc98068846ee4772b93d49a44b0f13b37f0baf1 (patch) | |
tree | d06148c24c0e93327172c348189508246881a746 | |
parent | 11e8be3c480413ecd7f4007e3726e5ce586ed696 (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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.am | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2010-11-01 Omair Majid <[email protected]> + + * Makefile.am (clean-IcedTeaPlugin): Only delete launcher directory if it + exists. + 2010-11-01 Deepak Bhole <[email protected]> PR542: Plugin fails with NPE on 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 \ |