(no commit message)
authorJens Thiele <jens.thiele@intra2net.com>
Mon, 4 Dec 2006 17:11:28 +0000 (17:11 +0000)
committerJens Thiele <jens.thiele@intra2net.com>
Mon, 4 Dec 2006 17:11:28 +0000 (17:11 +0000)
example-codegen/Makefile.am
example-codegen/README [new file with mode: 0644]
example-codegen/codegen.make

index d5670f3..b2c51de 100644 (file)
@@ -1,6 +1,6 @@
 # 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@
diff --git a/example-codegen/README b/example-codegen/README
new file mode 100644 (file)
index 0000000..08ce9d1
--- /dev/null
@@ -0,0 +1,14 @@
+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
index add7355..ee63091 100644 (file)
@@ -16,7 +16,7 @@ libt2ngroup_%.P : Makefile.am
 
 %.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;