]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
build: Add `make git-dist` target
authorSimon McVittie <smcv@debian.org>
Fri, 9 Mar 2018 10:33:19 +0000 (10:33 +0000)
committerSimon McVittie <smcv@debian.org>
Fri, 9 Mar 2018 10:33:19 +0000 (10:33 +0000)
Signed-off-by: Simon McVittie <smcv@debian.org>
Makefile.PL

index bd630373bade00aeccfcdd5555b59ccd4fec87b8..7b55c702531f1bf8a18df76d86d928aeab7aaa1d 100755 (executable)
@@ -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
 }
 }