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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sat Feb 25 03:58:15 CET 2012


Revision: 17203
          http://gar.svn.sourceforge.net/gar/?rev=17203&view=rev
Author:   bdwalton
Date:     2012-02-25 02:58:14 +0000 (Sat, 25 Feb 2012)
Log Message:
-----------
ruby19/trunk: fix a bad path in the primary manpage

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

Modified: csw/mgar/pkg/ruby19/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ruby19/trunk/Makefile	2012-02-25 02:01:19 UTC (rev 17202)
+++ csw/mgar/pkg/ruby19/trunk/Makefile	2012-02-25 02:58:14 UTC (rev 17203)
@@ -143,7 +143,7 @@
 
 COMPILE_ELISP = 1
 
-PI_TARGETS  = samples rbconfig rbscripts
+PI_TARGETS  = samples rbconfig pathfixes
 
 post-install-modulated: $(PI_TARGETS)
 	@$(MAKECOOKIE)
@@ -176,8 +176,10 @@
 	@$(MAKECOOKIE)
 
 # Some scripts come with /usr/local/bin/ruby hard coded.
-rbscripts:
+pathfixes:
 	@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)/$(NAME)}g" {} \;
+	@echo " ==> Fixing paths in manpages"
+	@( cd $(DESTDIR)$(mandir)/man1; perl -pi -e 's/usr\/local\/bin\/ruby/opt\/csw\/bin\/ruby191/g' ruby191.1 )
 	@$(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