Distributing BUILT_SOURCES dependencies and not target

2004-08-07 Thread Xavier Décoret
Hi, I am compiling a project with a swig generated file. Swig is a tool that takes a foo.i file and generates a foo_wrap.cxx (it can do more but no our concerne here ;-)). In my Makefile.am, I put: line 1: foo_wrap.cxx: foo.i line 2: $SWIG -c++ -python foo.i line 3: line 4: BUILT_SOURCES:

the correct rm macro in automake

2004-08-07 Thread Xavier Décoret
Hi, I am writing a install-exec-hook and the appropriate uninstall-hook. The former simply makes a copy of installed lib somewhere else, and the later needs to delete it. For that I simply wrote: uninstall-hook: rm -f foo.so What is the correct variable to ask for removal of a file. Is this