Permalink
Browse files

[enhance] Makefile: removed opa* manpages on uninstall

  • Loading branch information...
1 parent e6f1f62 commit 26ed3969947290dc155d9685e12aa3bb4c2bd466 @Aqua-Ye Aqua-Ye committed Dec 8, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 Makefile
View
3 Makefile
@@ -215,8 +215,7 @@ uninstall:
@[ ! -d $(INSTALL_DIR)/lib ] || [ -n "`ls -A $(INSTALL_DIR)/lib`" ] || rmdir $(INSTALL_DIR)/lib
rm -rf $(INSTALL_DIR)/share/opa
rm -rf $(INSTALL_DIR)/share/doc/opa
-# TODO: remove all installed opa manpages
-# rm -rf $(INSTALL_DIR)/share/man/man1/opa*
+ rm -rf $(INSTALL_DIR)/share/man/man1/opa*
@[ ! -d $(INSTALL_DIR)/share ] || [ -n "`ls -A $(INSTALL_DIR)/share`" ] || rmdir $(INSTALL_DIR)/share
$(foreach file,$(wildcard $(BUILD_DIR)/bin/*),rm -f $(INSTALL_DIR)/bin/$(notdir $(file));)
@$(OPALANG_DIR)/tools/utils/install.sh --uninstall --dir $(INSTALL_DIR)

0 comments on commit 26ed396

Please sign in to comment.