build: Add `make git-dist` target

Signed-off-by: Simon McVittie <smcv@debian.org>
master
Simon McVittie 2018-03-09 10:33:19 +00:00
parent d58b25eb93
commit 7edeed1f1a
1 changed files with 3 additions and 0 deletions

View File

@ -203,6 +203,9 @@ coverage:
cover -delete
$(MAKE) test PERL5OPT=-MDevel::Cover PERL5LIB=. TEST_FILES="$(filter-out t/git.t t/mercurial.t,$(wildcard t/*.t))"
cover
git-dist:
git archive --format=tar --prefix=IkiWiki-$(VER)/ HEAD | xz -c > IkiWiki-$(VER).tar.xz
}
}