Yes, makes sense. So I've put those files used solely for testing into /usr/local/share/trnascan. Also put the test result into a tmp dir that's automatically removed.


On Jan 12, 2013, at 4:09 AM, Samuel John <notifications@github.com> wrote:

> In trnascan.rb:
> 
> > +  def install
> > +    inreplace 'makefile' do |s|
> > +      s.change_make_var! 'CFLAGS', '-D_POSIX_C_SOURCE=1'
> > +      s.change_make_var! 'LIBDIR', lib
> > +      s.change_make_var! 'BINDIR', bin
> > +    end
> > +    system 'make all'
> > +
> > +    bin.install %w[coves-SE covels-SE eufindtRNA trnascan-1.4]
> > +    bin.install 'tRNAscan-SE.src'.sub(/\.src/, '')
> > +
> > +    lib.install Dir.glob('gcode.*') 
> > +    lib.install Dir.glob('*.cm')
> > +    lib.install 'Demo/F22B7.fa'
> > +    lib.install 'testrun.ref'
> > +    lib.install Dir.glob('*signal')
> I have the feeling that we are installing here too much into lib, which will be symlinked into $(brew --prefix)/lib. We basically want only libraries there. Other stuff should go into (share/'trnascan').install especially the Demo, ref files and so forth...
> 
> We could also make up a new dir under prefix. For example prefix/'support' will not be symlinked into $(brew --prefix)/support.
> 
> —
> Reply to this email directly or view it on GitHub.
> 
>