automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: distdir target


From: Tom Tromey
Subject: Re: distdir target
Date: 15 May 2001 09:31:39 -0600

>>>>> "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.

Robert> Or is there a built_dist option?

I don't understand.

FYI you can do almost anything in a dist-hook.

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]