[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
xsrc/44942: certain generated xsrc files don't rebuild
>Synopsis: certain generated xsrc files don't rebuild
>Arrival-Date: Sat May 07 00:15:00 +0000 2011
>Originator: David A. Holland
There's an ugly mess in bsd.x11.mk that generates .pc files. There are
other less prominent rules in there that also contribute content to
build products. None of these build products depend on bsd.x11.mk, so
build.sh -u won't regenerate them when bsd.x11.mk changes. This causes
update builds to diverge from fresh builds and sometimes break, or
break X apps. See PR 43942 for an example.
However, depending on bsd.x11.mk is undesirable and messy because we
rely on make's include path to find it.
Change all the nontrivial build rules into standalone shell scripts
and make the build products depend on the shell scripts that generate
them. This is not entirely trivial.
Main Index |
Thread Index |