[csw-devel] SF.net SVN: gar:[13570] csw/mgar/pkg/ruby18/trunk/Makefile
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Sat Mar 5 04:10:29 CET 2011
Revision: 13570
http://gar.svn.sourceforge.net/gar/?rev=13570&view=rev
Author: bdwalton
Date: 2011-03-05 03:10:28 +0000 (Sat, 05 Mar 2011)
Log Message:
-----------
ruby18/trunk: use alternatives for ruby, irb, ri, etc; ensure we only run suffixbins once by using makecookie
Modified Paths:
--------------
csw/mgar/pkg/ruby18/trunk/Makefile
Modified: csw/mgar/pkg/ruby18/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ruby18/trunk/Makefile 2011-03-05 03:05:46 UTC (rev 13569)
+++ csw/mgar/pkg/ruby18/trunk/Makefile 2011-03-05 03:10:28 UTC (rev 13570)
@@ -20,6 +20,9 @@
OBSOLETES_CSWruby18-mode = CSWrubymode
OBSOLETES_CSWruby18-mode-el = CSWrubymodeel
+ALTERNATIVES_CSWruby18 = ruby
+ALTERNATIVE_ruby = $(bindir)/ruby ruby $(bindir)/ruby18 10 $(bindir)/irb irb $(bindir)/irb18 $(bindir)/erb erb $(bindir)/erb18 $(bindir)/rdoc rdoc $(bindir)/rdoc18 $(bindir)/ri ri $(bindir)/ri18 $(bindir)/testrb testrb $(bindir)/testrb18
+
ARCHALL_CSWruby18-doc = 1
ARCHALL_CSWruby18-mode = 1
ARCHALL_CSWruby18-mode-el = 1
@@ -172,6 +175,7 @@
suffixbins:
@echo "Making binaries use 18 suffix"
@(cd $(DESTDIR)$(bindir); for f in *; do mv $$f $${f}18; done)
+ @$(MAKECOOKIE)
multiconfig:
@echo "Setting up the CSW rbconfig stuff so we can switch between compilers"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list