# not a GNU package. You can remove this line, if
# you have all needed files, that a GNU package needs
-AUTOMAKE_OPTIONS = foreign 1.4
+AUTOMAKE_OPTIONS = foreign
INCLUDES = @LIBT2N_CFLAGS@
LDADD = @LIBT2N_LIBS@
--- /dev/null
+Example how to use the code generator libt2n-codegen.
+This example may be build during the build of libt2n or it may be build seperately using a
+installed version of libt2n.
+
+To build it seperately using a installed version of libt2n:
+autoreconf -i && ./configure && make && make distcheck
+
+if it does not work try something like:
+tar xzvf libt2n-0.1.tar.gz
+mv libt2n-0.1/example-codegen .
+cd example-codegen
+# get configure script created and missing autotools stuff
+aclocal && automake -a && autoreconf -i
+./configure && make && make distcheck
%.libt2nstamp : libt2ngroup_%.P $(LIBT2N_CODEGEN)
# assuming we have some unix like shell (maybe even bash)
- echo BUILT_SOURCES: $(BUILT_SOURCES)
+# echo BUILT_SOURCES: $(BUILT_SOURCES)
# temporarily create _common.hxx file (will be overwritten by codegen below)
echo '#include "codegen-stubhead.hxx"' > $*_common.hxx;
echo '#include "$*.hxx"' >> $*_common.hxx;