[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdelibs/kfile/tests
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-11-14 10:47:15
[Download RAW message or body]

On Wednesday 14 November 2001 11:36, Stephan Kulow wrote:
> On Wednesday, 14. November 2001 02:54, David Faure wrote:
> > On Wednesday 14 November 2001 01:32, Michael Brade wrote:
> > > On Wednesday 14 November 2001 00:41, Carsten Pfeiffer wrote:
> > > > On Tuesday 13 November 2001 16:59, you wrote:
> > > > >  Log Message:
> > > > >  create_cvsignore
> > > >
> > > > ohh? /me updates kdesdk :)
> > >
> > > Hehe, /me thought exactly the same, but ohh... no luck ;}
> > > Perhaps create_cvsignore == david_faure...?
> >
> > #!/bin/zsh
> > cat >.cvsignore <<EOF
> > Makefile
> > Makefile.in
> > EOF
> > if test -f Makefile.am; then
> >   bins=`grep _PROGRAMS Makefile.am | grep -v '^#' | sed -e 's/.*=\s*//'`
> >   if ! test -z "$bins"; then
> >     print -l `echo $bins` >> .cvsignore
> >   fi
> > fi
> > cvs add .cvsignore
> 
> I don't want to nitpick, but if no Makefile.am is present, Makefile.in makes 
> little sense in .cvsignore

Do we have dirs without Makefile.am ? Ok, maybe in kdeartwork, but
that's very rare on the whole ;)
Feel free to fix the script and to commit it - I only use it in dirs with a Makefile.am :)

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/ , http://www.konqueror.org/
KDE 3.0: Konquering the Desktops

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic