summaryrefslogtreecommitdiffhomepage
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/build b/build
index 7924581..a9d0044 100755
--- a/build
+++ b/build
@@ -66,12 +66,16 @@ compile_for_lang() {
sed -Ei '
/<nav>/,\|</nav>|s|<a href=/../euro/tn>([^<]*)</a>|<div class=selected>\1</div>|
' $nod/index.html
- gawk -v denom=$denom -v lang=$1 '
+ gawk -v lang=$1 '
@include "scripts/getcls.awk"
function fmt(n)
{
- return lang ~ /(en|ga|mt|nl)/ ? "€" n : n " €"
+ return lang ~ /(en|ga|mt|nl)/ ? "€" n : n "&nbsp;€"
+ }
+
+ BEGIN {
+ FS = "\t"
}
$1 == "TN" {
@@ -84,11 +88,15 @@ compile_for_lang() {
END {
for (i = 1; i <= length(col); i++) {
printf \
- "<tr><td class=missing>%s</td><td class=%s>%s</td></tr>\n",
+ "<trX><td class=missing colspan=1>%s</td>"\
+ "<td class=%s colspan=6>%s</td></tr>\n",
fmt(col[i][0]), getcls(col[i][2]), col[i][1]
}
+ print "MARKER LOL"
}
- ' data/notes | xfsub '<!-- TABLE-BODY -->' - $nod/index.html
+ ' data/notes \
+ | last-of-design.sed \
+ | xfsub '<!-- TABLE-BODY -->' - $nod/index.html
for CC in `grep -Eo '^[A-Z]{2}' data/coins | uniq`; do
cc=`echo $CC | tr A-Z a-z`