[csw-devel] SF.net SVN: gar:[13560] csw/mgar/pkg/ruby18/trunk/Makefile

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Fri Mar 4 16:26:10 CET 2011


Revision: 13560
          http://gar.svn.sourceforge.net/gar/?rev=13560&view=rev
Author:   bdwalton
Date:     2011-03-04 15:26:09 +0000 (Fri, 04 Mar 2011)

Log Message:
-----------
ruby18/trunk: make the things in bin use the 18 suffix without affecting the whole build

Modified Paths:
--------------
    csw/mgar/pkg/ruby18/trunk/Makefile

Modified: csw/mgar/pkg/ruby18/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ruby18/trunk/Makefile	2011-03-04 03:53:19 UTC (rev 13559)
+++ csw/mgar/pkg/ruby18/trunk/Makefile	2011-03-04 15:26:09 UTC (rev 13560)
@@ -161,7 +161,7 @@
 
 RBCONFIG = /opt/csw/lib/ruby/1.8/$(GARCH)-solaris2.9/rbconfig.rb
 
-PI_TARGETS  = samples rbconfig rbscripts rubymode
+PI_TARGETS  = samples rbconfig rbscripts rubymode suffixbins
 ifndef USEGCC
 PI_TARGETS += multiconfig
 endif
@@ -169,6 +169,10 @@
 post-install-modulated: $(PI_TARGETS)
 	@$(MAKECOOKIE)
 
+suffixbins:
+	@echo "Making binaries use 18 suffix"
+	@(cd $(DESTDIR)$(bindir); for f in *; do mv $$f $${f}18; done)
+
 multiconfig:
 	@echo "Setting up the CSW rbconfig stuff so we can switch between compilers"
 	@mv $(DESTDIR)$(RBCONFIG) $(DESTDIR)$(RBCONFIG).SOS12


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