This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH doc/refcard.tex
- To: mir at sunchorus dot France dot Sun dot COM
- Subject: Re: PATCH doc/refcard.tex
- From: Eli Zaretskii <eliz at delorie dot com>
- Date: Wed, 27 Dec 2000 03:25:34 -0500 (EST)
- CC: pedwards at disaster dot jaj dot com, gdb-patches at sources dot redhat dot com
- References: <200012261042.LAA19117@sunchorus.France.Sun.COM>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
>
> There are no quotes around the refedits variable, that
> is the problem.
Sorry, I came to a conclusion that I don't understand the problem.
Here's the relevant fragment from doc/Makefile.in:
# GDB QUICK REFERENCE (dvi output)
refcard.dvi : refcard.tex $(REFEDITS)
if [ -z "$(REFEDITS)" ]; then \
cp $(srcdir)/refcard.tex sedref.tex ; \
else \
echo > tmp.sed ; \
for f in "$(REFEDITS)" ; do \
cat $(srcdir)/$$f >>tmp.sed ; done ; \
sed -f tmp.sed $(srcdir)/refcard.tex >sedref.tex ; \
fi
$(SET_TEXINPUTS) $(TEX) sedref.tex
mv sedref.dvi refcard.dvi
rm -f sedref.log sedref.tex tmp.sed
As you see, $(REFEDITS) _is_ wrapped in quotes, and the shell should
see ``for f in "" ; do''. Am I missing something?