mozilla

Revision 148396 of DIRS

  • Revision slug: DIRS
  • Revision title: DIRS
  • Revision id: 148396
  • Created:
  • Creator: Waldo
  • Is current revision? No
  • Comment prefer code over tt for semantic meaning; also, tabs->spaces

Revision Content

DIRS is a makefile variable which contains a list of subdirectories of the current directory to recursively build in. Subdirectories are traversed after their parent directories.

Set By

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

Example

{{template.Source("toolkit/Makefile.in")}}
DIRS	= \
          content \
          locales \
          obsolete \
          profile \
          themes \
          $(NULL)

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

Revision Source

<p><code>DIRS</code> is a makefile variable which contains a list of subdirectories of the current directory to recursively build in. Subdirectories are traversed after their parent directories.
</p>
<h3 name="Set_By"> Set By </h3>
<p>Tree makefiles set DIRS after including <code>autoconf.mk</code> but before including <code>config.mk</code> or <code>rules.mk</code>.
</p>
<h3 name="Example"> Example </h3>
<table class="standard-table">
<tbody><tr>
<td>{{template.Source("toolkit/Makefile.in")}}</td>
<td><pre>
DIRS	= \
          content \
          locales \
          obsolete \
          profile \
          themes \
          $(NULL)

ifndef MINIMO
DIRS += \
        xre \
        mozapps \
        $(NULL)
endif
</pre>
</td>
</tr>
</tbody></table>
Revert to this revision