[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
distdir target
From: |
Robert Collins |
Subject: |
distdir target |
Date: |
Tue, 15 May 2001 14:05:15 +1000 |
A question: the first few lines of the distdir target (using --foreign
are)
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
however, the --cygnus option creates
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
Is there any reliable way to get the if test -f $$file;.... line with
automake --foreign?
The files we want to distribute are built files. (We don't want end
users to need shar, but we have icons stored in a shar file for the
developers).
Or is there a built_dist option?
Rob
- distdir target,
Robert Collins <=