You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-dev@tcl.apache.org by "David N. Welton" <da...@dedasys.com> on 2002/03/07 14:52:14 UTC

Make bug

Ronnie bugzilla writes:

> make always links websh, even if it is up-to-date

Yes - the Makefile target is mod_websh.so, whereas the file created
doesn't have that name.

We could always do a 'touch mod_websh.so', but I think that that
solution is uglier than the problem.

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org


Re: Make bug (dependency problem)

Posted by "David N. Welton" <da...@dedasys.com>.
Ronnie Brunner <ro...@netcetera.ch> writes:

> That should easy to fix:

> have some versionless targets w/o any rule, just dependencies

>      websh: websh$(VERSION)
>      mod_websh: mod_websh$(VERSION).so

> and the only have the version specific real targets

>      websh$(VERSION): deps
>              rules		 

>      mod_websh$(VERSION).so: deps
>              rules		 

> (I just tried this with websh and it works perfectly, my first try
> with the mod_websh target didn't work, but I didn't look at it ...)

Ok, that works.  Committed...

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org


Re: Make bug (dependency problem)

Posted by Ronnie Brunner <ro...@netcetera.ch>.
That should easy to fix:

have some versionless targets w/o any rule, just dependencies

     websh: websh$(VERSION)
     mod_websh: mod_websh$(VERSION).so

and the only have the version specific real targets

     websh$(VERSION): deps
             rules		 

     mod_websh$(VERSION).so: deps
             rules		 

(I just tried this with websh and it works perfectly, my first try
with the mod_websh target didn't work, but I didn't look at it ...)

> Ronnie bugzilla writes:
> 
> > make always links websh, even if it is up-to-date
> 
> Yes - the Makefile target is mod_websh.so, whereas the file created
> doesn't have that name.
> 
> We could always do a 'touch mod_websh.so', but I think that that
> solution is uglier than the problem.
> 

------------------------------------------------------------------------
Ronnie Brunner                               ronnie.brunner@netcetera.ch
Netcetera AG, 8040 Zuerich    phone +41 1 247 79 79 Fax: +41 1 247 70 75

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org