On Tue, 30 Sep 2003, Christopher Faylor wrote: > On Tue, Sep 30, 2003 at 11:49:44AM -0400, Igor Pechtchanski wrote: > >On Tue, 30 Sep 2003, Christopher Faylor wrote: > > > >> On Tue, Sep 30, 2003 at 11:29:29AM -0400, Igor Pechtchanski wrote: > >> >On Tue, 30 Sep 2003, Christopher Faylor wrote: > >> > > >> >> On Tue, Sep 30, 2003 at 11:02:39AM -0400, Igor Pechtchanski wrote: > >> >> >On Tue, 30 Sep 2003, Corinna Vinschen wrote: > >> >> >> 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. > >> >> > > >> >> >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. > >> >> > >> >> Good point, but I think I'd prefer something like: > >> >> > >> >> install: all cygprogctl > >> >> $(SHELL) $(updir1)/mkinstalldirs $(bindir) $(etcdir) > >> >> for i in $(PROGS) ${word 2,$^} ; do \ > >> >> n=`echo $$i | sed '$(program_transform_name)'`; \ > >> >> $(INSTALL_PROGRAM) $$i $(bindir)/$$n; \ > >> >> done > >> >> > >> >> That would just let the standard install deal with installation. > >> >> cgf > >> > > >> >Hmm, then it'll have to be > >> > > >> >install: all $(srcdir)/cygprogctl > >> > ... > >> > >> No, it wouldn't. Try it. > >> > >> >How is this cleaner than adding it to PROGS? > >> > >> Weren't you saying that adding it to PROGS causes it to be removed with > >> a 'make clean'. > > > ><quote> > > 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. > ></quote> > > 1) I towed the car to the driveway, the battery may be dead. (igor) > 2) You can replace the battery. (corinna) > 3) I considered doing that but I don't have the proper wrench. (igor) > 4) You could use jumper cables to get the car started. (cgf) > 5) How is that better than replacing the battery? (igor) > 6) You said that you didn't have the proper wrench. (cgf) > 7) I said "the battery *may* be dead". (igor) > > cgf
Close enough. So, are we jump-starting the car, or replacing the battery? ;-) 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