Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
duplicate targets in Makefile rule
- X-seq: zsh-workers 9643
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: duplicate targets in Makefile rule
- Date: Wed, 9 Feb 2000 23:58:05 +0000
- Mail-followup-to: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
I'm puzzled by the following on line 85 of Doc/Makefile.in:
zsh.texi $(sdir)/zsh.texi:
case $@ in \
*/*) target=$@ ;; \
*) target=$(sdir)/$@ ;; \
esac; \
$(YODL) -o $$target -I$(sdir) -w ztexi.yo version.yo
zsh.yo; \
test -f $$target
When is sdir not `.'? And when it is, make barfs with things like:
make[1]: Entering directory `/mnt/hda7/usr_src/redhat/BUILD/zsh-3.1.6/Doc'
Makefile:217: target `zsh.texi' given more than once in the same rule.
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/mnt/hda7/usr_src/redhat/BUILD/zsh-3.1.6/Doc'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author