From ad44350ecf956894238841b387125ab9824e3850 Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Thu, 10 Oct 2013 15:21:47 +0200 Subject: Made Bindir relative to Libexecdir. When directory variables in project files are relative pathnames, then Comfignat.Bindir is now relative to Comfignat.Libexecdir, while the other pathnames are relative to Comfignat.Bindir. This should help programs in Libexecdir figure out the pathnames of files they need. The manual now also notes that runstatedir and lockdir are always absolute. --- comfignat.gpr.gp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'comfignat.gpr.gp') diff --git a/comfignat.gpr.gp b/comfignat.gpr.gp index 4c9d8eb..ac2e7d4 100644 --- a/comfignat.gpr.gp +++ b/comfignat.gpr.gp @@ -78,12 +78,13 @@ abstract project Comfignat is -- tell them where to find or write different kinds of files at run time. -- Most of the directory names are relative to Bindir if the software was -- configured as a relocatable package. Otherwise they are absolute - -- pathnames. + -- pathnames. Bindir is relative to Libexecdir when the package is + -- relocatable. -- -- Programs that can be run from a command prompt are in Bindir. This is - -- normally the same directory that the program itself is in, so this - -- variable is probably of little use at run time. + -- usually the same directory that the program itself is in, so this + -- variable is probably useful only to programs in Libexecdir. #if Bindir'Defined then Bindir := $Bindir; #else -- cgit v1.2.3