#!/bin/sh

echo "#ifndef __TRANSLIT_FILTERS_H__" > translit_filters.h
echo "#define __TRANSLIT_FILTERS_H__" >> translit_filters.h

echo "#ifndef __FILTER_TABLE_H__" > filter_table.h
echo "#define __FILTER_TABLE_H__" >> filter_table.h

for i in *.tr; do php convert.php $i; done

cat non_generated_filter_definitions >> translit_filters.h
cat non_generated_filter_table >> filter_table.h

echo "#endif" >> translit_filters.h

echo "#endif" >> filter_table.h
