* Makefile.in (refcard.dvi): Rewrite to avoid problems with empty
`test` expressions on bash. Problem reported by Colin Walters.
This commit is contained in:
parent
e7d10af411
commit
dfa249fb26
2 changed files with 11 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-07-06 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
* Makefile.in (refcard.dvi): Rewrite to avoid problems with empty
|
||||||
|
`test` expressions on bash. Problem reported by Colin Walters.
|
||||||
|
|
||||||
2001-07-04 Andrew Cagney <ac131313@redhat.com>
|
2001-07-04 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* gdbint.texinfo (User Interface): Update ui-out documentation to
|
* gdbint.texinfo (User Interface): Update ui-out documentation to
|
||||||
|
|
|
@ -200,14 +200,12 @@ maintainer-clean realclean: distclean
|
||||||
|
|
||||||
# GDB QUICK REFERENCE (dvi output)
|
# GDB QUICK REFERENCE (dvi output)
|
||||||
refcard.dvi : refcard.tex $(REFEDITS)
|
refcard.dvi : refcard.tex $(REFEDITS)
|
||||||
if [ -z "$(REFEDITS)" ]; then \
|
echo > tmp.sed
|
||||||
cp $(srcdir)/refcard.tex sedref.tex ; \
|
for f in x $(REFEDITS) ; do \
|
||||||
else \
|
test x$$f = xx && continue ; \
|
||||||
echo > tmp.sed ; \
|
cat $(srcdir)/$$f >>tmp.sed ; \
|
||||||
for f in $(REFEDITS) ; do \
|
done
|
||||||
cat $(srcdir)/$$f >>tmp.sed ; done ; \
|
sed -f tmp.sed $(srcdir)/refcard.tex >sedref.tex
|
||||||
sed -f tmp.sed $(srcdir)/refcard.tex >sedref.tex ; \
|
|
||||||
fi
|
|
||||||
$(SET_TEXINPUTS) $(TEX) sedref.tex
|
$(SET_TEXINPUTS) $(TEX) sedref.tex
|
||||||
mv sedref.dvi refcard.dvi
|
mv sedref.dvi refcard.dvi
|
||||||
rm -f sedref.log sedref.tex tmp.sed
|
rm -f sedref.log sedref.tex tmp.sed
|
||||||
|
|
Loading…
Add table
Reference in a new issue