build: Add `make git-dist` target
Signed-off-by: Simon McVittie <smcv@debian.org>master
parent
d58b25eb93
commit
7edeed1f1a
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue