summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-03-06 16:08:41 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-03-06 16:08:41 +0000
commit098c0b99417e4a5d0ceee1c29b24b097fb210e3b (patch)
treedfd7b4ee46e9df162cd37269f7277644ea5a5054
parentd4895fe89b117092b8bb820cd710742ae433044d (diff)
downloadmandoc-098c0b99417e4a5d0ceee1c29b24b097fb210e3b.tar.gz
new dist-install maintainer target
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c0e0139c..38327fc1 100644
--- a/Makefile
+++ b/Makefile
@@ -585,6 +585,10 @@ mandoc-$(VERSION).tar.gz: $(DISTFILES)
( cd .dist/ && tar zcf ../$@ mandoc-$(VERSION) )
rm -rf .dist/
+dist-install: dist
+ $(INSTALL_DATA) mandoc-$(VERSION).tar.gz mandoc-$(VERSION).sha256 \
+ $(HTDOCDIR)/snapshots
+
# === SUFFIX RULES =====================================================
.SUFFIXES: .1 .3 .5 .7 .8 .h