You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by mx...@apache.org on 2009/01/16 12:42:22 UTC

svn commit: r734980 - in /tcl/rivet/trunk: ChangeLog Makefile.am

Author: mxmanghi
Date: Fri Jan 16 03:42:19 2009
New Revision: 734980

URL: http://svn.apache.org/viewvc?rev=734980&view=rev
Log:
    * Makefile.am: Add DESTLIB variable handling as suggested
    by kikusz@gmail.com and accordingly with Automake directives
    for local install rules.


Modified:
    tcl/rivet/trunk/ChangeLog
    tcl/rivet/trunk/Makefile.am

Modified: tcl/rivet/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/ChangeLog?rev=734980&r1=734979&r2=734980&view=diff
==============================================================================
--- tcl/rivet/trunk/ChangeLog (original)
+++ tcl/rivet/trunk/ChangeLog Fri Jan 16 03:42:19 2009
@@ -1,3 +1,9 @@
+2009-01-16 Massimo Manghi <mx...@apache.org>
+
+    * Makefile.am: Add DESTLIB variable handling as suggested
+    by kikusz@gmail.com and accordingly with Automake directives
+    for local install rules.
+
 2008-12-21 Massimo Manghi <mx...@apache.ora>
 
     * src/apache-2/rivetCode.c: add handling for subcommand

Modified: tcl/rivet/trunk/Makefile.am
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/Makefile.am?rev=734980&r1=734979&r2=734980&view=diff
==============================================================================
--- tcl/rivet/trunk/Makefile.am (original)
+++ tcl/rivet/trunk/Makefile.am Fri Jan 16 03:42:19 2009
@@ -16,11 +16,11 @@
 	$(SHELL) ./config.status --recheck
 
 install-data-local:
-	$(mkinstalldirs) $(RIVETLIB_DESTDIR)
-	cp -r rivet/* $(RIVETLIB_DESTDIR)
-	-( cd  $(RIVETLIB_DESTDIR) ; echo 'eval pkg_mkIndex -verbose [pwd] init.tcl [glob [file join packages * *.tcl] [file join *[info sharedlibextension]]]' | @TCLSH_PROG@ ; )
+	$(mkinstalldirs) $(DESTDIR)$(RIVETLIB_DESTDIR)
+	cp -r rivet/* $(DESTDIR)$(RIVETLIB_DESTDIR)
+	-( cd  $(DESTDIR)$(RIVETLIB_DESTDIR) ; echo 'eval pkg_mkIndex -verbose [pwd] init.tcl [glob [file join packages * *.tcl] [file join *[info sharedlibextension]]]' | @TCLSH_PROG@ ; )
 
 uninstall-local:
-	rm -fr $(RIVETLIB_DESTDIR)
+	rm -fr $(DESTDIR)$(RIVETLIB_DESTDIR)
 
 # 



---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org