Bug 10403: (follow-up) fix test to use vendor created earlier during test
[koha.git] / misc / translator / Makefile
index 9706c70..d97a666 100644 (file)
@@ -1,4 +1,7 @@
 all: translator_doc.txt
 
 %.txt: %.html
-       LANG=C w3m $< > $@
+       set -x; sed -e 's/<blockquote>/&<table border=0 width="100%"><tr><td nowrap><pre>/g' -e 's/<\/blockquote>/<\/pre><\/table>&/g' $<|LANG=C w3m -T text/html -cols 80 | sed -e 's/  *$$//g' | cat -s > $@
+
+clean:
+       rm translator_doc.txt