aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a4caff0..16ac04e 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,8 @@ lacme_www_group ?= www-data
lacme_client_user ?= nobody
lacme_client_group ?= nogroup
+acmeapi_server ?= https://acme-v02.api.letsencrypt.org/directory
+
$(BUILDDIR)/%: %
mkdir -pv -- $(dir $@)
cp --no-dereference --preserve=mode,links,xattr -vfT -- "$<" "$@"
@@ -62,8 +64,9 @@ $(BUILDDIR)/%: %
s#@@lacme_www_user@@#$(lacme_www_user)#g; \
s#@@lacme_www_group@@#$(lacme_www_group)#g; \
s#@@lacme_client_user@@#$(lacme_client_user)#g; \
- s#@@lacme_client_group@@#$(lacme_client_group)#g;" \
- -- "$@"
+ s#@@lacme_client_group@@#$(lacme_client_group)#g; \
+ s#@@acmeapi_server@@#$(acmeapi_server)#g; \
+ " -- "$@"
release:
@if ! git diff HEAD --quiet -- ./Changelog ./lacme ./lacme-accountd ./client; then \