3 # Copyright (C) 2009, 2010 Christian Egli
5 # Copying and distribution of this file, with or without modification,
6 # are permitted in any medium without royalty provided the copyright
7 # notice and this notice are preserved.
9 # Use this script to regenerate Makefile.am if you must. I recommend
10 # against it for the reasons explained in
11 # http://www.gnu.org/software/hello/manual/automake/Wildcards.html.
12 # It's easy to pick up some spurious files that you did not mean to
15 OUTFILE=Makefile.am.new
19 # generate the list of tables as follows:
20 # $ ls | grep -v Makefile | grep -v README | grep -v maketablelist.sh | grep -v '.*~$' | sort | sed -e 's/$/ \\/' -e 's/^/\t/' | head --bytes=-2
25 ls | grep -v Makefile | grep -v README | grep -v maketablelist.sh | grep -v '.*~$' | sort | sed -e 's/$/ \\/' -e 's/^/\t/' | head --bytes=-2 >> $OUTFILE
31 tablesdir = $(datadir)/liblouis/tables
32 tables_DATA = $(table_files)
33 EXTRA_DIST = $(table_files)