Following the daily dist build this is supposed to bundle all existing
translations into a langpack tarball for distribution.
Squid releases are bundled with their own most-current translations as at
release date. Daily snapshots included.
This bundling is only intended to be built for the HEAD release as a
a drop-in replacement for any error pages bundled per-release with
Squid 2.6 and later.
TODO: auto-translation patch still to merge will generate current
translations for this to work with. At present it only has the old legacy
folders, but should still operate correctly on those.
gzip -f -9 ${PACKAGE}-${VERSION}-${date}-cfgman.html
echo ${PACKAGE}-${VERSION}-${date}-cfgman.html.gz >>${tag}.out
fi
+
+# Generate language-pack tarballs
+# NP: Only to be done on HEAD branch.
+sh -c "cd $tmpdir/errors && tar -zcf ${PWD}/${PACKAGE}-${VERSION}-${date}-langpack.tar.gz ./*/*"
+echo ${PACKAGE}-${VERSION}-${date}-langpack.tar.gz >>${tag}.out