make simplifies almost everything. its just a question of how to write generic rules. find my collection of rules in git://git.salfelder.org/git/makefiles. This repository contains some files with rules for TeX compiling and some general purpose conversions. Please report bugs/missing features if you encounter any.
usage example:
$ cd $ git clone git://git.salfelder.org/git/makefiles .make $ cd tex-project; ls *.tex something.tex chapter.tex (bash) $ echo -e "all: something.pdf\n\ninclude ~/.make/tex" > Makefile (dash) $ echo "all: something.pdf\n\ninclude ~/.make/tex" > Makefile $ make
Unfortunately its not possible to override/supplement compiled-in rules. As workaround, a shell alias alias mymake=make\ -f ~/some/Makefile can be used.
Last modified: Di Okt 18, 2011 11:54