DESTDIR has been coded into the install-data-local and
uninstall-local rules following the patch provided by 
[email protected] and accordingly to Automake documentation
and directives


Index: Makefile.am
===================================================================
--- Makefile.am (revision 730501)
+++ Makefile.am (working copy)
@@ -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)
 
 # 


-- Massimo


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to