summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-02 11:49:41 +0200
committerErich Eckner <git@eckner.net>2019-09-02 12:03:10 +0200
commit01335375ec4b1d8d9b5c2f8af7b560bca09796ce (patch)
tree8d0c6719436a90aaf8306ccd068fbf901bfb7bbd /Makefile
parentff7a3622bc6b8002a2ca6c8c26668f4e1daa70df (diff)
downloadsimple-pki-01335375ec4b1d8d9b5c2f8af7b560bca09796ce.tar.xz
fix install targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7e7a49f..335b066 100644
--- a/Makefile
+++ b/Makefile
@@ -43,14 +43,12 @@ all: rotate-keys rotate-keys.service sign-ca sign-ca.service sign-request etc/ca
install-ca:
install -D -m0755 -t $(DESTDIR)$(BINDIR) sign-ca sign-request
- install -D -m0644 -t $(DESTDIR)$(ETCDIR)/simple-pki ca.conf
- install -d -m0700 $(DESTDIR)$(ETCDIR)/simple-pki/keys
+ install -D -m0644 -t $(DESTDIR)$(ETCDIR)/simple-pki etc/ca.conf etc/ca-ssl.conf
install -D -m0644 -t $(DESTDIR)$(LIBDIR)/systemd/system sign-ca.service sign-ca.timer
install-cb:
install -D -m0755 -t $(DESTDIR)$(BINDIR) rotate-keys
- install -D -m0644 -t $(DESTDIR)$(ETCDIR)/simple-pki cb.conf
- install -d -m0700 $(DESTDIR)$(ETCDIR)/simple-pki/keys
+ install -D -m0644 -t $(DESTDIR)$(ETCDIR)/simple-pki etc/cb.conf server-ssl.conf
install -D -m0644 -t $(DESTDIR)$(LIBDIR)/systemd/system rotate-keys.service rotate-keys.timer
clean: