On Tue, 30 Sep 2003, Corinna Vinschen wrote: > On Sat, Sep 27, 2003 at 12:42:50PM -0400, Igor Pechtchanski wrote: > > The only thing I didn't test were the rules in the Makefile, > > so if someone could please double-check them, it'd be great. > > > Index: winsup/utils/Makefile.in > > =================================================================== > > RCS file: /cvs/src/src/winsup/utils/Makefile.in,v > > retrieving revision 1.53 > > diff -u -p -r1.53 Makefile.in > > --- winsup/utils/Makefile.in 12 Sep 2003 01:51:21 -0000 1.53 > > +++ winsup/utils/Makefile.in 27 Sep 2003 16:24:54 -0000 > > @@ -84,12 +84,17 @@ PROGS:=warn_dumper $(PROGS) > > CLEAN_PROGS+=dumper.exe > > endif > > > > +PROGS+=cygprogctl > > + > > .SUFFIXES: > > .NOEXPORT: > > > > .PHONY: all install clean realclean warn_dumper > > > > all: Makefile $(PROGS) > > + > > +cygprogctl: $(srcdir)/cygprogctl > > + cp -p $< $@ > > > > strace.exe: strace.o path.o $(MINGW_DEP_LDLIBS) > > ifdef VERBOSE > > Wouldn't it be sufficient to add $(srcdir)/cygprogctl to PROGS and to > drop the copy rule? The script only needs installing and that should > work then. > > Corinna
I just remembered why I did it this way: aren't all of the $(PROGS) are deleted on "make clean"? If I added $(srcdir)/cygprogctl to PROGS, I'd have to change the "clean" rule. I thought a copy would be easier and less intrusive. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton