aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6bfa739..06841ee 100644
--- a/Makefile
+++ b/Makefile
@@ -20,19 +20,21 @@ datarootdir ?= $(prefix)/share
sysconfdir ?= $(prefix)/etc
mandir ?= $(datarootdir)/man
man1dir ?= $(mandir)/man1
+man8dir ?= $(mandir)/man8
install: all
install -m0644 -vDt $(sysconfdir)/lacme config/*.conf snippets/*.conf
install -vd $(sysconfdir)/lacme/lacme-certs.conf.d
install -m0644 -vDt $(datarootdir)/lacme certs/lets-encrypt-x[1-4]-cross-signed.pem
install -m0755 -vDt $(libexecdir)/lacme ./client ./webserver
- install -m0644 -vDt $(man1dir) $(BUILD_DOCDIR)/lacme-accountd.1 $(BUILD_DOCDIR)/lacme.1
+ install -m0644 -vDt $(man1dir) $(BUILD_DOCDIR)/lacme-accountd.1
+ install -m0644 -vDt $(man8dir) $(BUILD_DOCDIR)/lacme.8
install -m0644 -vDt $(bindir) ./lacme-accountd
install -m0644 -vDt $(sbindir) ./lacme
uninstall:
rm -vf -- $(bindir)/lacme-accountd $(sbindir)/lacme
- rm -vf -- $(man1dir)/lacme-accountd.1 $(man1dir)/lacme.1
+ rm -vf -- $(man1dir)/lacme-accountd.1 $(man8dir)/lacme.8
rm -rvf -- $(sysconfdir)/lacme $(datarootdir)/lacme $(libexecdir)/lacme
clean: