Re: debiandir
On Tuesday 17 February 2004 02:29, Ben Burton wrote:
>
> > I'm no expert in makefiles but doesn't the include cause the
> > debian/debiandirs call to be made?
>
> This is the way it has always worked for me.
>
> (i.e., the include calls the file to be made and then included in the
> same "make" run).
Ohhhh, right hand side of include is generated if missing
(file:/usr/share/doc/make-doc/make_3.html#SEC16). And it
looks like variable expansion is done later.
allee(0) ~ $ cat mm
-include mm.inc
mm.inc: /bin/echo
/bin/echo bla="hello " > mm.inc
all:
echo $(bla)world
allee(0) ~ $ rm mm.inc ; make -f mm all
/bin/echo bla="hello " > mm.inc
echo hello world
hello world
allee(0) ~ $
So everything should be fine.
Achim
>
> Ben.
--
To me vi is Zen. To use vi is to practice zen. Every command is
a koan. Profound to the user, unintelligible to the uninitiated.
You discover truth everytime you use it.
-- reddy@lion.austin.ibm.com
Reply to: