r56573 - /scripts/patchedit.Makefile

jozef-guest at users.alioth.debian.org jozef-guest at users.alioth.debian.org
Tue Apr 20 06:25:27 UTC 2010


Author: jozef-guest
Date: Tue Apr 20 06:25:14 2010
New Revision: 56573

URL: http://svn.debian.org/wsvn/?sc=1&rev=56573
Log:
Makefile with commands to generate patchedit page

Added:
    scripts/patchedit.Makefile

Added: scripts/patchedit.Makefile
URL: http://svn.debian.org/wsvn/scripts/patchedit.Makefile?rev=56573&op=file
==============================================================================
--- scripts/patchedit.Makefile (added)
+++ scripts/patchedit.Makefile Tue Apr 20 06:25:14 2010
@@ -1,0 +1,10 @@
+#
+# this Makefile is used to generate http://pkg-perl.alioth.debian.org/patchedit/
+#
+
+all:
+	git svn rebase
+	find -name series | sort | perl -MIO::Any -MFile::Basename=dirname -ne 'chomp; my $$s = $$_; my $$bd=dirname($$s); $$bd=~s{^\./}{}; my @pl=map { $$bd."/".$$_ } grep { $$_ !~ m/^\s*$$/ } map { chomp; $$_ } grep { not m/^#/ } split("\n", IO::Any->slurp($$s)); print map { $$_."\n" } @pl;' | xargs prove --exec "patchedit check -o" -m -Q --formatter=TAP::Formatter::HTML -P HTML=outfile:output.html.new,force_inline_css:0 || /bin/true
+	perl -lane 's{file:/usr/local/share/perl/.+?/TAP/Formatter/HTML/}{}g; print $$_' -i output.html.new
+	mv output.html.new output.html
+




More information about the Pkg-perl-cvs-commits mailing list