aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-06-04 11:07:27 +0100
committerLexi Winter <ivy@FreeBSD.org>2025-06-04 11:07:27 +0100
commitaf4cd0985ed759ea25d24338af80a92d98ca7b35 (patch)
tree41673e54240e47e1f6d3fc8f0caa25e8e2b5e5e9 /Makefile
parent15010d062ae276a92065cd6ea7dc94b749e20756 (diff)
downloadlfacme-af4cd0985ed759ea25d24338af80a92d98ca7b35.tar.gz
lfacme-af4cd0985ed759ea25d24338af80a92d98ca7b35.tar.bz2
fix build with bmake
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 13e4895..8735c14 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,9 @@
# 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
+
PREFIX?= /usr/local
DESTDIR?=
@@ -59,19 +63,19 @@ clean:
rm -f ${MAN5} ${MAN7} ${MAN8} ${LIB} ${BIN}
rm -f ${HOOK} ${CHALLENGE} ${PERIODIC} ${CONF}
-%.sh: %.sh.in
+.sh.in.sh:
${REPLACE} <$< >$@
-%.sample: %.sample.in
+.sample.in.sample:
${REPLACE} <$< >$@
-%.5: %.5.in
+.5.in.5:
${REPLACE} <$< >$@
-%.7: %.7.in
+.7.in.7:
${REPLACE} <$< >$@
-%.8: %.8.in
+.8.in.8:
${REPLACE} <$< >$@
install: install-lib install-bin install-conf install-hook install-man install-periodic
@@ -141,6 +145,3 @@ install-periodic: all
"${DESTDIR}${PERIODICDIR}/$$basename"; \
done; \
fi
-
-.PHONY: default all install install-lib install-bin install-conf \
- install-hook install-man install-periodic