On Thu, Jul 19, 2007 at 05:16:05PM +1000, Scott Smedley wrote: > 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.
No, I just reformatted it slightly:
* Break long lines
* Set variables like this
foo = bar
instead of this
foo=bar
(this is the way it's done in makefiles).
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt, dominik.vogt (at) gmx.de
signature.asc
Description: Digital signature
