added example using generated and installed example library
[libt2n] / example-codegen / README
1 Example how to use the code generator libt2n-codegen.
2 This example may be build during the build of libt2n or it may be build seperately using a
3 installed version of libt2n.
4
5 To build it seperately using a installed version of libt2n:
6 autoreconf && ./configure && make && make distcheck
7
8 if it does not work you may have to move the example-codegen out of the libt2n directory and
9 pass some options to autoreconf
10 I use something like:
11 tar xzvf libt2n-0.1.tar.gz
12 mv libt2n-0.1/example-codegen . 
13 cd example-codegen
14 # get configure script created and missing autotools helper files installed
15 # if you installed libt2n in some non-standard directory you might have to pass
16 # -M pathtolibt2n.m4
17 autoreconf -f -i
18 ./configure && make && make distcheck
19
20 tar xzvf libt2n-0.1.tar.gz && mv libt2n-0.1/example-codegen . && cd example-codegen && autoreconf -f -i -M /tmp/jens-delme/usr/share/aclocal && ./configure && dmake && dmake distcheck