diff options
author | Björn Persson <Bjorn@Rombobjörn.se> | 2015-07-01 23:39:13 +0200 |
---|---|---|
committer | Björn Persson <Bjorn@Rombobjörn.se> | 2015-07-01 23:39:13 +0200 |
commit | 929b6ada115224ee4e9f1a147e7dd95819b78024 (patch) | |
tree | 660f4827f75f7f383e4d2197bef2d2d7e7271af7 /comfignat.mk | |
parent | 4bd9fcc8acbd04b92100f49cb4d7b528d69cd1a2 (diff) |
Improved the documentation of directory variables.
Diffstat (limited to 'comfignat.mk')
-rw-r--r-- | comfignat.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/comfignat.mk b/comfignat.mk index 9d6badc..6c3176e 100644 --- a/comfignat.mk +++ b/comfignat.mk @@ -1,5 +1,5 @@ # Comfignat makefile foundation for configuring and building GNAT projects -# Copyright 2013 - 2014 B. Persson, Bjorn@Rombobeorn.se +# Copyright 2013 - 2015 B. Persson, Bjorn@Rombobeorn.se # # This material is provided as is, with absolutely no warranty expressed # or implied. Any use is at your own risk. @@ -263,7 +263,8 @@ preprocess_file = "${GNATPREP}" ${firstword ${filter %.gp,$^}} $@ \ # preprocess_file is a command for use in recipes. It runs the first .gp file # among the rule's prerequisites through Gnatprep to produce the target. If the # target is a usage project, then the usage-relevant directory variables are -# conveyed to it as Gnatprep symbols. Otherwise srcdir is conveyed. +# conveyed to it as Gnatprep symbols. Otherwise srcdir is conveyed, as it's +# needed by preprocessed build projects. build_GPR = "${GNAT_BUILDER}" -P ${firstword ${filter %.gpr,$^}} \ ${addprefix -aP,${VPATH}} -p \ @@ -424,7 +425,8 @@ usage_directory_variables = includedir archincludedir libdir alidir builder_directory_variables = bindir libexecdir ${usage_directory_variables} # These are the builder-relevant directory variables. They control where the -# GNAT tools write files to be installed. +# GNAT tools write files to be installed. These are the variables that +# Comfignat-compatible directories projects must provide. usage_relevant = ${filter ${usage_directory_variables},${1}} # usage_relevant returns a list of the words in the input list that are usage- |