try to find workaround for old automake
[libt2n] / example-codegen / TODO
index c166d7e..7386630 100644 (file)
@@ -37,3 +37,31 @@ now we use the first solution
   the real problem is that make dist should not depend on BUILT_SOURCES
   unfortunately we can't fix this as long as we use a old automake version
   (DISTFILES includes generated files we would like to mark as noinst)
+- make clean / make distclean?! make clean geht beim zweiten mal nicht
+  now it works?! why?!
+  das ganze ist abhängig davon in welchem verzeichnis man ist?!
+  das problem ist:
+       BUILT_SOURCES -> generierte files -> codegen !
+  (make clean in toplevel src dir -> codegen does not exist)
+
+  => how to get rid off BUILT_SOURCES
+     or how to get rid off dependency off clean and dist on BUILT_SOURCES files ?
+     (the nodist problem)
+
+  getting rid off BUILT_SOURCES would not suffice
+  (explicit dependencies still would depend upon the files)
+  => the real problem is the missing nodist
+
+  => workaround for old automake version?
+  a workaround would require us not to use _SOURCES but still be able to add object files
+  to the libs/bins created
+  looking at the generated Makefile this perhaps could be done via _OBJECTS
+  
+  nodist wurde mit automake 1.5 eingeführt (2001-08-23)
+  
+  what doesn't work:
+  - make dist and make clean only work if you did a make all
+
+  hmm Makefile should not depend on BUILT_SOURCES
+       http://sources.redhat.com/ml/bug-automake/2000/msg00040.html
+  
\ No newline at end of file