aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2021-02-18 16:11:24 +0100
committerGuilhem Moulin <guilhem@fripost.org>2021-02-20 20:16:34 +0100
commit8d7b50989d1c446b81c73e8ababfce6f0351ee59 (patch)
treea8f5f297c7ebdd2752a97c181fe43ee7b97fcea4 /Makefile
parente3a3f59865290ea70de66ffa3b017916aac3ffef (diff)
Symlink $(sysconfdir)/apache2/conf-available/lacme.conf → ../../lacme/apache2.conf.
This is useful for enabling the snippet with `a2enconf lacme`, cf. https://bugs.debian.org/955859 .
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0fdd9df..3a8e461 100644
--- a/Makefile
+++ b/Makefile
@@ -87,11 +87,14 @@ install: all
install -m0644 -vDt $(man8dir) -- $(BUILDDIR)/lacme.8
install -m0755 -vDt $(sbindir) -- $(BUILDDIR)/lacme
install -m0755 -vDt $(bindir) -- $(BUILDDIR)/lacme-accountd
+ install -m0755 -vdD -- $(sysconfdir)/apache2/conf-available
+ ln -sv -- ../../lacme/apache2.conf $(sysconfdir)/apache2/conf-available/lacme.conf
uninstall:
rm -vf -- $(bindir)/lacme-accountd $(sbindir)/lacme
rm -vf -- $(man1dir)/lacme-accountd.1 $(man8dir)/lacme.8
rm -rvf -- $(sysconfdir)/lacme $(datadir)/lacme $(libexecdir)/lacme
+ rm -vf -- $(sysconfdir)/apache2/conf-available/lacme.conf
clean:
rm -rvf -- $(BUILDDIR)