diff options
author | Simon McVittie <smcv@debian.org> | 2018-03-09 10:33:19 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2018-03-09 10:33:19 +0000 |
commit | 7edeed1f1a070caf5e5b15d46bf3730811d524b6 (patch) | |
tree | ea79599af82216144bf7c07353e6ed6292a3d5ff /Makefile.PL | |
parent | d58b25eb93beb84b30475546804066a15578d115 (diff) | |
download | ikiwiki-7edeed1f1a070caf5e5b15d46bf3730811d524b6.tar ikiwiki-7edeed1f1a070caf5e5b15d46bf3730811d524b6.tar.gz |
build: Add `make git-dist` target
Signed-off-by: Simon McVittie <smcv@debian.org>
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-x | Makefile.PL | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL index bd630373b..7b55c7025 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -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 } } |