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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sat Mar 5 04:49:30 CET 2011


Revision: 13572
          http://gar.svn.sourceforge.net/gar/?rev=13572&view=rev
Author:   bdwalton
Date:     2011-03-05 03:49:29 +0000 (Sat, 05 Mar 2011)

Log Message:
-----------
ruby18/trunk: make further adjustments to accommodate --program-suffix option

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:47:28 UTC (rev 13571)
+++ csw/mgar/pkg/ruby18/trunk/Makefile	2011-03-05 03:49:29 UTC (rev 13572)
@@ -199,10 +199,10 @@
 
 # Copy samples
 samples:
-	@mkdir -p $(DESTDIR)$(docdir)/ruby/
-	@cp -R $(WORKSRC_FIRSTMOD)/sample $(DESTDIR)$(docdir)/ruby/
+	@mkdir -p $(DESTDIR)$(docdir)/ruby18/
+	@cp -R $(WORKSRC_FIRSTMOD)/sample $(DESTDIR)$(docdir)/ruby18/
 	@for ext in bigdecimal dl tk ; do \
-		cp -R $(WORKSRC_FIRSTMOD)/ext/$$ext/sample $(DESTDIR)$(docdir)/ruby/sample/$$ext ; \
+		cp -R $(WORKSRC_FIRSTMOD)/ext/$$ext/sample $(DESTDIR)$(docdir)/ruby18/sample/$$ext ; \
 	done
 	@$(MAKECOOKIE)
 
@@ -210,7 +210,7 @@
 rbscripts:
 	@echo " ==> Fixing shebang path in distributed ruby scripts"
 	@find $(DESTDIR)$(prefix) -type f -name '*.rb' -exec \
-		perl -i -plne "s{^#!/usr/local/bin/ruby}{#!$(bindir)/ruby}g" {} \;
+		perl -i -plne "s{^#!/usr/local/bin/ruby}{#!$(bindir)/ruby18}g" {} \;
 	@$(MAKECOOKIE)
 
 


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