On Sun, Feb 09, 2003 at 05:28:54PM +0100, Joachim Nilsson wrote:
> Is there a way to disable building parts of the tree? E.g., first
> build the regular xc tree and in a later round build the
> xc-xserver-xfree86-dbg tree.
Why, yes, in fact Debian's XFree86 packages do this very thing.
You can, therefore, look inside the Debian source package to see one way
of doing it.
debian/rules:
60 SERVERDEBUG_IMAKE_DEFINES:=-DXFree86CustomVersion='\"Debian (static) $(SOURCE_VERSION) $(shell env TZ=UTC date +%Y%m%d%H%M%S) $(BUILDER)\"' -DBuilderEMailAddr='\"$(BUILDER_EMAIL_ADDR)\"' -DBuildServer sOnly=YES -DDoLoadableServer=NO -DXnestServer=NO -DXVirtualFramebufferServer=NO -DXprtServer=NO $(DEBUGFLAGS)
[...]
178 $(MAKE) -C $(SOURCE_TREE)-xserver-xfree86-dbg WORLDOPTS="" IMAKE_DEFINES="$(SERVERDEBUG_IMAKE_DEFINES)" World
So, for instance, instead of "make World", you might say:
make -DBuildServersOnly=YES -DDoLoadableServer=NO -DXnestServer=NO -DXVirtualFramebufferServer=NO -DXprtServer=NO World
--
G. Branden Robinson | What influenced me to atheism was
Debian GNU/Linux | reading the Bible cover to cover.
branden@debian.org | Twice.
http://people.debian.org/~branden/ | -- J. Michael Straczynski
Attachment:
pgpqMfAIGKgEn.pgp
Description: PGP signature