X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5051e1ae8149c28df2b2316fbe0923ba7d480035..e9f25595206a24e0143cd69ba0467b1b32d0b1e2:/Makefile.PL diff --git a/Makefile.PL b/Makefile.PL index bd630373b..2df9ae1a6 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -87,12 +87,15 @@ sysconfdir: extra_clean: perl_shebangs_clean $(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.in --setup docwiki.setup --clean rm -f *.man $(outprogs) ikiwiki.setup plugins/*.pyc + rm -fr t/tmp t/manual/*/git/ t/manual/*/html/ t/tinyblog/.ikiwiki/ t/tinypodcast/.ikiwiki/ $(MAKE) -C po clean -# Joey uses this before committing. -myclean: clean +reset-generated: git checkout po ikiwiki.spec +# Joey uses this before committing. +myclean: clean reset-generated + underlay_install: install -d $(DESTDIR)$(PREFIX)/share/ikiwiki set -e; \ @@ -203,6 +206,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 } }