Re: Increasing regularity of build systems
"Michael" == Michael Alan Dorman <mdorman-debian.devel@debian.org> writes:
Michael> ./configure introduces a lot of system dependency in its
Michael> generated files, and _much_ of the variation is, at least on
Michael> debian boxes, architecture related. While I'm sure a
Indeed, ./configure has to be run, the issue is whether it has to be
run repeatedly each time you recompile the program to squash a bug.
Some packages have an elaborate build sequence thats impossible to
restart from the middle. :-(
I like to do something like this:
build: build-stamp
build-stamp: configure-stamp
dh_testdir
$(MAKE)
touch build-stamp
configure-stamp:
./configure --prefix=/usr
touch configure-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp install-stamp configure-stamp
[...]
netgod
<apt> it has been said that redhat is the thing Marc Ewing wears on
his head.
Reply to: