From 2bf0dfd6a04f5dfb9798cabbd56fc49863b64172 Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Sat, 13 Jul 2013 23:56:04 +0200 Subject: Redesigned the handling of relative pathnames. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit · Directory variables for embedding and for installation were separated. · Directory variables for embedding are now available in project Comfignat. · Relative pathnames are now relative to gprdir or bindir in different places. · Options are conveyed to build project files as external variables. · Gnatprep_definitions is now Gnatprep_arguments. · preprocess_file and builder_arguments were added. --- INSTALL | 46 +++++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 19 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index d26f007..e1e95b2 100644 --- a/INSTALL +++ b/INSTALL @@ -65,8 +65,8 @@ are relevant during the build: file. Default: false prefix - A prefix used in the default values of the directory variables listed - below. Default: /usr/local + A prefix used in the default values of almost all of the directory + variables listed below. Default: /usr/local exec_prefix A prefix used in the default locations for programs, binary libraries and @@ -102,7 +102,7 @@ are relevant during the build: statedir The parent of the application-specific directory for idiosyncratic variable - data files for this program. Default: /lib + data files for this software. Default: /lib cachedir The parent of the application-specific directory for cached data files that @@ -112,16 +112,6 @@ are relevant during the build: logdir The top-level directory for log files. Default: /log - runtimedir - The top-level directory for files that describe the state of the system and - that exist only while some subsystem is running, such as process identifier - files and transient Unix-domain sockets. Default: /run - - lockdir - The top-level directory for lock files that are used to prevent multiple - programs from trying to access a device or other resource at the same time. - Default: /lock - includedir The top-level directory for source files to be used in the compilation of software using libraries, used only if no directories project is provided. @@ -155,6 +145,16 @@ are relevant during the build: The parent of the application-specific directory for miscellaneous documentation files. Default: /doc + runtimedir + The top-level directory for files that describe the state of the system and + that exist only while some subsystem is running, such as process identifier + files and transient Unix-domain sockets. Default: /run + + lockdir + The top-level directory for lock files that are used to prevent multiple + programs from trying to access a device or other resource at the same time. + Default: /lock + If you want to install to a staging directory from which the files will later be copied to their final locations, then set DESTDIR to the staging directory. All the other directory variables shall be the final locations. Unlike the @@ -176,16 +176,24 @@ The same defaults as above will be used if the symbols are undefined. Exec_Prefix Bindir Libexecdir + Datarootdir + Datadir + Sysconfdir + Localstatedir + Statedir + Cachedir + Logdir Includedir Libdir + GPRdir + Localedir + Mandir + Infodir + Miscdocdir + Runtimedir + Lockdir These correspond to the like-named Make variables. - Base - If Prefix, Exec_Prefix, Bindir, Libexecdir, Includedir and Libdir are - relative pathnames, then Base shall be the absolute pathname of the - directory that they are relative to. If those variables are absolute - pathnames, then Base shall be undefined. - Optional Features ----------------- -- cgit v1.2.3