#!/bin/bash

dest=lsm_data.go
do="DO"
not="NOT"
edit="EDIT"

cat > ${dest} <<EOF
// Code generated by make_lsm_data.sh; ${do} ${not} ${edit}.

package tool

var lsmDataCSS = \`
EOF

cat data/lsm.css >> ${dest}

cat >> ${dest} <<EOF
\`

var lsmDataJS = \`
EOF

cat data/lsm.js >> ${dest}

cat>> ${dest} <<EOF
\`
EOF
