Re: Make-depend

From: Matthew D. Langston (langston@SLAC.stanford.edu)
Date: Fri Jul 09 1999 - 08:25:55 MEST


Dmitri Litvintsev wrote:
> 
> just pulled root_v2.22.source.tar (2_22_08) from the site.  tried to
> compile but alas. I've noticed that Make-depend contains hardcoded
> directories ...

The following perl snippet will fix this:

  $ perl -i.orig -p -e 's{/[^\s]+}{};s{^[^:]+:\s*$}{}' Make-depend

If by some chance you don't have Perl on your system, but you have
"sed", then the Perl command can be replaced with the following two
lines:

  $ mv Make-depend Make-depend.orig
  $ sed -e 's/\/[^ 	][^ 	]*//' -e 's/^[^:][^:]*:[ 	]$//' Make-depend.orig > Make-depend

--
Matthew D. Langston
SLD, Stanford Linear Accelerator Center
langston@SLAC.Stanford.EDU



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:35 MET