]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - Makefile.PL
libtext-csv-xs-perl not relevant
[git.ikiwiki.info.git] / Makefile.PL
index bd630373bade00aeccfcdd5555b59ccd4fec87b8..2df9ae1a68776f2a814a15b2231fb37d0242749c 100755 (executable)
@@ -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
 }
 }