Next: , Previous: , Up: Controlling where ASDF saves compiled files   [Contents][Index]


9.4 Configuration Directories

Configuration directories consist of files, each of which contains a list of directives without any enclosing (:output-translations ...) form. The files will be sorted by namestring as if by string< and the lists of directives of these files with be concatenated in order. An implicit :inherit-configuration will be included at the end of the list.

System-wide or per-user Common Lisp software distributions such as Debian packages or some future version of clbuild may then include files such as /etc/common-lisp/asdf-output-translations.conf.d/10-foo.conf or ~/.config/common-lisp/asdf-output-translations.conf.d/10-foo.conf to easily and modularly register configuration information about software being distributed.

The convention is that, for sorting purposes, the names of files in such a directory begin with two digits that determine the order in which these entries will be read. Also, the type of these files must be .conf, which not only simplifies the implementation by allowing for more portable techniques in finding those files, but also makes it trivial to disable a file, by renaming it to a different file type.

Directories may be included by specifying a directory pathname or namestring in an :include directive, e.g.:

	(:include "/foo/bar/")