summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-02 13:15:46 +0200
committerErich Eckner <git@eckner.net>2019-09-02 13:15:46 +0200
commitfee2608f4cb4f28e388f5d4cf367f79d39de7bc6 (patch)
treec5b54738ead7258ae16c7eebaa4e09c0cd7167f4
parentf78f292e58908b3962bbe4282052083d83d23759 (diff)
downloadsimple-pki-fee2608f4cb4f28e388f5d4cf367f79d39de7bc6.tar.xz
Makefile: repair installsv0.0.1
-rw-r--r--Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 50f2478..f438062 100644
--- a/Makefile
+++ b/Makefile
@@ -47,19 +47,19 @@ install-ca:
install -D -m0644 -t $(DESTDIR)$(LIBDIR)/systemd/system sign-ca.service sign-ca.timer
install -d -m0755 $(DESTDIR)$(ETCDIR)/simple-pki/ca/root-ca/db $(DESTDIR)$(ETCDIR)/simple-pki/ca/signing-ca/db $(DESTDIR)$(ETCDIR)/simple-pki/crl $(DESTDIR)$(ETCDIR)/simple-pki/certs
install -d -m0700 $(DESTDIR)$(ETCDIR)/simple-pki/ca/root-ca/private $(DESTDIR)$(ETCDIR)/simple-pki/ca/signing-ca/private
- install -m 644 -t $(DESTDIR)$(ETCDIR)/simple-pki/ca/root-ca/db/root-ca.db /dev/null
- install -m 644 -t $(DESTDIR)$(ETCDIR)/simple-pki/ca/signing-ca/db/signing-ca.db /dev/null
- install -m 644 -t $(DESTDIR)$(ETCDIR)/simple-pki/ca/root-ca/db/root-ca.db.attr /dev/null
- install -m 644 -t $(DESTDIR)$(ETCDIR)/simple-pki/ca/signing-ca/db/signing-ca.db.attr /dev/null
- echo 01 | install -m 644 -t $(DESTDIR)$(ETCDIR)/simple-pki/ca/root-ca/db/root-ca.crt.srl /dev/stdin
- echo 01 | install -m 644 -t $(DESTDIR)$(ETCDIR)/simple-pki/ca/signing-ca/db/signing-ca.crt.srl /dev/stdin
- echo 01 | install -m 644 -t $(DESTDIR)$(ETCDIR)/simple-pki/ca/root-ca/db/root-ca.crl.srl /dev/stdin
- echo 01 | install -m 644 -t $(DESTDIR)$(ETCDIR)/simple-pki/ca/signing-ca/db/signing-ca.crl.srl /dev/stdin
+ install -D -m0644 /dev/null $(DESTDIR)$(ETCDIR)/simple-pki/ca/root-ca/db/root-ca.db
+ install -D -m0644 /dev/null $(DESTDIR)$(ETCDIR)/simple-pki/ca/signing-ca/db/signing-ca.db
+ install -D -m0644 /dev/null $(DESTDIR)$(ETCDIR)/simple-pki/ca/root-ca/db/root-ca.db.attr
+ install -D -m0644 /dev/null $(DESTDIR)$(ETCDIR)/simple-pki/ca/signing-ca/db/signing-ca.db.attr
+ echo 01 | install -D -m0644 /dev/stdin $(DESTDIR)$(ETCDIR)/simple-pki/ca/root-ca/db/root-ca.crt.srl
+ echo 01 | install -D -m0644 /dev/stdin $(DESTDIR)$(ETCDIR)/simple-pki/ca/signing-ca/db/signing-ca.crt.srl
+ echo 01 | install -D -m0644 /dev/stdin $(DESTDIR)$(ETCDIR)/simple-pki/ca/root-ca/db/root-ca.crl.srl
+ echo 01 | install -D -m0644 /dev/stdin $(DESTDIR)$(ETCDIR)/simple-pki/ca/signing-ca/db/signing-ca.crl.srl
install-cb:
install -D -m0755 -t $(DESTDIR)$(BINDIR) rotate-keys
- install -D -m0644 -t $(DESTDIR)$(ETCDIR)/simple-pki etc/cb.conf server-ssl.conf
- install -d -m0700 -o http -g http -t $(DESTDIR)$(ETCDIR)/simple-pki/cb
+ install -D -m0644 -t $(DESTDIR)$(ETCDIR)/simple-pki etc/cb.conf etc/server-ssl.conf
+ install -d -m0700 -o http -g http $(DESTDIR)$(ETCDIR)/simple-pki/cb
install -D -m0644 -t $(DESTDIR)$(LIBDIR)/systemd/system rotate-keys.service rotate-keys.timer
clean: