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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Mon Mar 7 02:26:37 CET 2011


Revision: 13631
          http://gar.svn.sourceforge.net/gar/?rev=13631&view=rev
Author:   bdwalton
Date:     2011-03-07 01:26:36 +0000 (Mon, 07 Mar 2011)

Log Message:
-----------
ruby18/trunk: adjust the elisp install to run in postinstall

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

Modified: csw/mgar/pkg/ruby18/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ruby18/trunk/Makefile	2011-03-07 01:22:44 UTC (rev 13630)
+++ csw/mgar/pkg/ruby18/trunk/Makefile	2011-03-07 01:26:36 UTC (rev 13631)
@@ -179,6 +179,7 @@
 			cp $(DESTDIR)$(RBCONFIG).$(COMPILER) \
 				$(PKGROOT)$(RBCONFIG).$(COMPILER) )
 
+post-install-modulated: RMDIR=$(PKGROOT)/$(datadir)/emacs/site-lisp/ruby-mode
 post-install-modulated:
 	@echo "Stripping DESTDIR from rbconfig.rb"
 	@gsed -i -e s,$(DESTDIR),, \
@@ -188,10 +189,9 @@
 	@mv $(DESTDIR)$(RBCONFIG) $(DESTDIR)$(RBCONFIG).$(COMPILER)
 	@echo "Installing ruby-mode elisp..."
 	@(mkdir -p $(RMDIR); \
-		cp $(WORKSRC_FIRSTMOD)/misc/*el $(RMDIR))
+		cp $(WORKSRC)/misc/*el $(RMDIR))
 	@$(MAKECONFIG)
 
-post-merge: RMDIR=$(PKGROOT)/$(datadir)/emacs/site-lisp/ruby-mode
 post-merge:
 	@echo "Copying in sample code..."
 	@mkdir -p $(DESTDIR)$(docdir)/ruby18/


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