bug-make
[Top][All Lists]
Advanced

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

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


From: Alejandro Colomar
Subject: Missing [/usr/local]/var/lib and [/usr/local]/tmp
Date: Mon, 18 Jul 2022 13:31:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

Hi,

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?

Thanks,

Alex

--
Alejandro Colomar
<http://www.alejandro-colomar.es/>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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