[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: distdir target
From: |
Robert Collins |
Subject: |
Re: distdir target |
Date: |
Wed, 16 May 2001 09:08:53 +1000 |
----- Original Message -----
From: "Tom Tromey" <address@hidden>
> >>>>> "Robert" == Robert Collins <address@hidden>
writes:
>
> Robert> however, the --cygnus option creates
>
> Robert> distdir: $(DISTFILES)
> Robert> @for file in $(DISTFILES); do \
> Robert> if test -f $$file; then d=.; else d=$(srcdir); fi; \
> Robert> dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
>
> Robert> Is there any reliable way to get the if test -f
> Robert> $$file;.... line with automake --foreign?
>
> Yes, use today's automake. I changed this last night as part of my
> bug-fixing quest.
Yippee. Thank you. I must have just missed your checkin when I updated
:}.
> Robert> Or is there a built_dist option?
>
> I don't understand.
I was thinking there might be an option to change the distdir behaviour
per makefile.
> FYI you can do almost anything in a dist-hook.
Thanks. I knew about that - but rewriting distdir didn't really appeal
:].
> Tom
>