bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing [/usr/local]/var/lib and [/usr/local]/tmp


From: Alfred M. Szmidt
Subject: Re: Missing [/usr/local]/var/lib and [/usr/local]/tmp
Date: Mon, 18 Jul 2022 07:51:35 -0400

   I'm improving a Makefile for a project which uses [/usr/local]/var/lib 
   and [/usr/local]/tmp.  I see there's no standard in the GNU coding 
   standards for directory variables.

   I used the following:

   tmpdir := $(prefix)/tmp
   libstatedir := $(localstatedir)/lib

   I developed the name $libstatedir for symmetry with $runstatedir, which 
   is also a child of $localstatedir, with the first part of the name as 
   the name of the child dir.

   Would you mind adding those to your directory variables?

I think the first question is to understand what a "library state
directory" is?  Whate are you storing under it?  Seems like something
architecture independent? Are the files shareable between
installations?

For /tmp, the only thing that should realy be used is /tmp (or
/var/tmp).  /usr/tmp would be strange, and very non-standard.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]