DIRS

The DIRS makefile variable contains a list of subdirectories to recursively build in. Many of the standard targets provided by config/rules.mk iterate over the directories listed in DIRS. Makefiles should include rules.mk after defining their own targets; doing so means that this iteration takes place after running the Makefile's own commands for the target.

Set By

Tree makefiles may set DIRS after including config/autoconf.mk but before including config/config.mk or config/rules.mk.

If a makefile sets the TIERS variable, then config/rules.mk will add the directories listed in the tier_tiername_dirs variables to DIRS automatically.

Example

toolkit/Makefile.in
DIRS	= \
          content \
          locales \
          obsolete \
          profile \
          themes \
          $(NULL)

ifndef MINIMO
DIRS += \
        xre \
        mozapps \
        $(NULL)
endif

See Also

 

Document Tags and Contributors

Contributors to this page: Benjamin Smedberg, Jimb, Ted_Mielczarek, Waldo, gps
Last updated by: gps,