summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-02 11:47:33 +0200
committerErich Eckner <git@eckner.net>2019-09-02 12:03:10 +0200
commitff7a3622bc6b8002a2ca6c8c26668f4e1daa70df (patch)
treeab4993267e075f24c0d3717bb05b28772fbb1728 /Makefile
parent4b146b607885a0a0543c68ee553f7a6c64e1fe30 (diff)
downloadsimple-pki-ff7a3622bc6b8002a2ca6c8c26668f4e1daa70df.tar.xz
sign-ca functional
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 873c9c1..7e7a49f 100644
--- a/Makefile
+++ b/Makefile
@@ -27,13 +27,13 @@ MANDIR = /usr/share/man
VERSION = 0.0
-all: rotate-keys rotate-keys.service sign-ca sign-ca.service sign-request etc/ca.conf
+all: rotate-keys rotate-keys.service sign-ca sign-ca.service sign-request etc/ca-ssl.conf
%: %.in
sed " \
s/#VERSION#/$(VERSION)/; \
- s@#BINDIR#@$(BINDIR)@; \
- s@#ETCDIR#@$(ETCDIR)@; \
+ s@#BINDIR#@$(BINDIR)@g; \
+ s@#ETCDIR#@$(ETCDIR)@g; \
s@#HELPTEXT#\(\s\+\)#@ --help \1display this help and exit\n --version\1display version and exit@; \
" $< > $@
[ "$@" = "sign-ca" ] && chmod +x "$@" || true