Hi Dominik, On Thu, Jul 19, 2007 at 12:15:33AM +0200, Dominik Vogt wrote: > ... > make[1]: Entering directory `/home/luthien/src/fvwm/doc' > cp: `./header.html' and `header.html' are the same file > make[1]: *** [header.html] Error 1 > make[1]: Leaving directory `/home/luthien/src/fvwm/doc' > make: *** [distdir] Error 1 > > This line from doc/Makefile.am is responsible: > > %.html: $(srcdir)/$@ > @cp $(srcdir)/$@ $@ > > In a normal build environment, the top_builddir and the srcdir are > the same, do the cp fails. I'm not sure how this is all meant, > but if the file comes from CVS it is not built and should not be > copied to the top_builddir.
When top_builddir == srcdir, I don't want make to do anything. When top_builddir != srcdir, I want to 'cp' to top_builddir so that I can point my browser at the built documentation & see that everything is ok. See the "Problems building snap-20070713" thread. I notice you made a change to doc/Makefile.am. Did that fix your problem? I'm surprised if it did. Scott.
