summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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