add sh/bash to pain list
Posted Feb 22, 2007 13:24 UTC (Thu) by cate
In reply to: add sh/bash to pain list
Parent article: The Road to KDE 4: CMake, a New Build System for KDE (KDE.News)
It is an hack (echo, while, grep, tee, rm). Lucky there is only one implementation of TeX engine, with a fixed string.
And very annoying for bigger project, which includes more dvi files (plus ev. the pdflatex) and a lot of includes.
And to complicate: usually user will use bibtex, or some filter for indexes.
make is very good for tree dependencies (and timestamp), but it is not suited (and designated) for general build use.
Maybe because of Makefile programmer, but in a lot of programs you see: "run make clean before to compile the program" (when you change configuration, you patches programs, or now often, before/after a new ./configure). Is this not contrary to the spirit of make? Also kernel had such problems, showing that it is not easy to tell make the right dependencies.
I know that a lot of such problems are due to bad makefile programers, but this show that makefile is not more well suited for today build process.
to post comments)