aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-04 11:55:29 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-04 11:55:29 +0100
commitf23b3c48058514cd1bbf1c240386790fc7df3c79 (patch)
tree707e97b007d3dd778a36f891a046207033ea853d /Makefile
parent4db9e92552017f33ab13619fb29216403abba234 (diff)
downloadlfacme-f23b3c48058514cd1bbf1c240386790fc7df3c79.tar.gz
lfacme-f23b3c48058514cd1bbf1c240386790fc7df3c79.tar.bz2
README: update and simplify a little
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 81f227c..8aef3e8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
# This source code is released into the public domain.
-.PHONY: default all install install-lib install-bin install-conf \
- install-hook install-man install-periodic
-.SUFFIXES: .5 .5.in .7 .7.in .8 .8.in .sh .sh.in .sample .sample.in
+# These directories may be customised to change where things are installed.
+# To avoid issues when updating, consider providing the new values on the
+# make(1) command line instead of editing this file.
PREFIX?= /usr/local
DESTDIR?=
@@ -17,6 +17,8 @@ MAN7DIR?= ${MANDIR}/man7
MAN8DIR?= ${MANDIR}/man8
HOOKDIR?= ${CONFDIR}/hooks
+### No user-servicable parts below this point.
+
LIBMODE?= 0644
LIB= init.sh dnsutils.sh
@@ -55,6 +57,10 @@ REPLACE= sed -e 's,__PREFIX__,${PREFIX},g' \
-e 's,__LIBDIR__,${LIBDIR},g' \
-e 's,__BINDIR__,${BINDIR},g'
+.PHONY: default all install install-lib install-bin install-conf \
+ install-hook install-man install-periodic
+.SUFFIXES: .5 .5.in .7 .7.in .8 .8.in .sh .sh.in .sample .sample.in
+
default: all
all: ${MAN5} ${MAN7} ${MAN8} ${LIB} ${BIN} ${CHALLENGE} ${HOOK} ${PERIODIC} ${CONF}