On 2011-05-30 13:08Z, Anja Schaefer wrote:
> 
> Thank you. I now use functions to encapsulate 1-line-commands such as:
> 
> # Functions
> pdflatex = pdflatex ${1}
> bibtex = bibtex ${1}.bib
> 
> Chapter1:
> $(call pdflatex,Chapter1)
> $(call bibtex,Chapter1)
> $(call pdflatex,Chapter1)
> $(call pdflatex,Chapter1)
> 
> Chapter2:
> $(call pdflatex,Chapter2)
> $(call bibtex,Chapter2)
> $(call pdflatex,Chapter2)
> $(call pdflatex,Chapter2)
> ...
> 
> Is it possible to simplify this even more?

AllChapters: Chapter1 Chapter2

Chapter%:
        pdflatex $*
        bibtex $*.bib

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to