[Groonga-commit] groonga/groonga [master] Remove installed Ruby scripts by 'make uninstall'

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 4日 (日) 14:52:51 JST


Kouhei Sutou	2012-03-04 14:52:51 +0900 (Sun, 04 Mar 2012)

  New Revision: deefdc085e426fbe55febab79e687e8897ada37f

  Log:
    Remove installed Ruby scripts by 'make uninstall'
    
    fixes #1299
    
    Patch by Kazuhiko Shiozaki. Thanks!!!

  Modified files:
    tools/Makefile.am

  Modified: tools/Makefile.am (+5 -0)
===================================================================
--- tools/Makefile.am    2012-03-04 14:51:23 +0900 (eb177bf)
+++ tools/Makefile.am    2012-03-04 14:52:51 +0900 (2ad2574)
@@ -16,4 +16,9 @@ install-exec-hook:
 	    $${script} > $(DESTDIR)$(bindir)/$${script};	\
 	  chmod +x $(DESTDIR)$(bindir)/$${script};		\
 	done
+
+uninstall-hook:
+	for script in $(install_ruby_scripts); do		\
+	  rm -f $(DESTDIR)$(bindir)/$${script};			\
+	done
 endif




Groonga-commit メーリングリストの案内
Back to archive index