summaryrefslogtreecommitdiffhomepage
path: root/auto/make
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@nginx.com>2023-03-27 13:43:37 +0200
committerAlejandro Colomar <alx@nginx.com>2023-03-29 00:40:40 +0200
commit5ba79b9b524ef746bc3269520c3f6b893f39275c (patch)
treed2c81fb988fe3c371ff5aa969abd7bf82459927a /auto/make
parente242b1454dff7a6be17ed2e2c06884fec528ad1b (diff)
downloadunit-5ba79b9b524ef746bc3269520c3f6b893f39275c.tar.gz
unit-5ba79b9b524ef746bc3269520c3f6b893f39275c.tar.bz2
Renamed --libstatedir to --statedir.
In BSD systems, it's usually </var/db> or some other dir under </var> that is not </var/lib>, so $statedir is a more generic name. See hier(7). Reported-by: Andrei Zeliankou <zelenkov@nginx.com> Reported-by: Zhidao Hong <z.hong@f5.com> Reviewed-by: Konstantin Pavlov <thresh@nginx.com> Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Cc: Liam Crilly <liam@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
Diffstat (limited to 'auto/make')
-rw-r--r--auto/make4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/make b/auto/make
index 66f2b1ec..a8f17e73 100644
--- a/auto/make
+++ b/auto/make
@@ -366,8 +366,8 @@ ${NXT_DAEMON}-install: $NXT_DAEMON install-check
test -d \$(DESTDIR)$NXT_SBINDIR \
|| install -d \$(DESTDIR)$NXT_SBINDIR
install -p $NXT_BUILD_DIR/$NXT_DAEMON \$(DESTDIR)$NXT_SBINDIR/
- test -d \$(DESTDIR)$NXT_LIBSTATEDIR \
- || install -d \$(DESTDIR)$NXT_LIBSTATEDIR
+ test -d \$(DESTDIR)$NXT_STATEDIR \
+ || install -d \$(DESTDIR)$NXT_STATEDIR
test -d \$(DESTDIR)$NXT_LOGDIR \
|| install -d \$(DESTDIR)$NXT_LOGDIR
test -d \$(DESTDIR)$NXT_RUNSTATEDIR \