aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-08-03 22:15:14 +0200
committerGuilhem Moulin <guilhem@fripost.org>2020-08-03 22:31:20 +0200
commitf6913c09b9987ae8a6f65f5acfa7673278c701be (patch)
treeadc1bb6b45c68533d9b9ec4d690436acadb48168 /Makefile
parent615f98315ce17751a703d4933ae690befdae82e1 (diff)
Install lacme manpage to section 8.
As it's a system command, see hier(7) for details.
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: