aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit1ad214e72a67273b33eef629660002907d4b2dc7 (patch)
treed1700417403add48b9dc61c2f0be1e7fc1f4fe5d
parent6679f3bff1fd1867c5173a3832bae2426d7c1e3a (diff)
downloadmandoc-1ad214e72a67273b33eef629660002907d4b2dc7.tar.gz
mandoc-1ad214e72a67273b33eef629660002907d4b2dc7.tar.zst
mandoc-1ad214e72a67273b33eef629660002907d4b2dc7.zip
new dist-install maintainer target
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 31ea921c..f4e29540 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.529 2019/03/06 11:19:42 schwarze Exp $
+# $Id: Makefile,v 1.530 2019/03/06 16:08:41 schwarze Exp $
#
# Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
# Copyright (c) 2011, 2013-2019 Ingo Schwarze <schwarze@openbsd.org>
@@ -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