[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I disable building parts of the tree?



On Wed, Feb 12, 2003 at 12:04:09AM -0500, Branden Robinson wrote:
> 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

Hmm, of course, I meant:

make WORLDOPTS="" IMAKE_DEFINES="-DBuildServersOnly=YES -DDoLoadableServer=NO -DXnestServer=NO -DXVirtualFramebufferServer=NO -DXprtServer=NO" World

-- 
G. Branden Robinson                |     Don't use nuclear weapons to
Debian GNU/Linux                   |     troubleshoot faults.
branden@debian.org                 |     -- US Air Force Instruction 91-111
http://people.debian.org/~branden/ |

Attachment: pgpfoXIWFL16F.pgp
Description: PGP signature


Reply to: