For instance, we would like to write a rule to process a LaTex file and then process BibTex entries for any LaTeX files. We can write the rule as follows,
%.dvi: %.tex
latex $<
bibtex $(basename $<)
latex $<
latex $<
In the example, if we issue a command
make example.tex
, the value of $<
is example.tex
while $(basename $<)
yields the basename without the extension. The basename without the extension is required for bibtex
to work in this example.This solution is provided by the discussion here.
Great information. Thanks for sharing. And Look on right now!
ReplyDeleteCan help you BlogSpot Blog , Sbcglobal email not working on iPhone/Mac/Phone, and Sbcglobal.net not sending and receiving emails