From: Holger L. <de...@la...> - 2006-10-04 11:13:04
|
Hi David, On Wednesday 04 October 2006 03:49, David Bruce wrote: > I tried using a fresh checkout from svn. If I deleted these files > (locally), ./configure did not work, so for now I have left them in svn. > Maybe I am supposed to run something before ./configure to autogenerate > these files? autogen.sh from tuxtype looks like this: ---------------------- #!/bin/sh aclocal && autoheader && autoconf && automake --add-missing --copy ---------------------- You need automake-1.9 and autotools-dev for this to work. > > <kaol> Makefile.am and src/Makefile.am should be added, at least > They are now in svn. good. > > Then I have another problem, "make clean" needs config.status, but this > > is autogenerated. And I do call "make clean" in my debian-build scripts. > > > > <h01ger> kaol, or not. i call "make clean" in the clean target and this > > fails (with the files from svn). if i run "./configure" before "make > > clean", it works. does config.status belong in svn? > > <kaol> one convention that I have seen is to have some sort of autogen.sh > > in svn, which will generate all those autogenerated files, and that there > > would be no expectation to have anything work after an export before that > > is run <h01ger> a hackish workaround would be to run ./configure in the > > clean target first, but that seems too hackish to me. > > <kaol> perhaps doing automake;autoconf;aclocal;libtoolize (in some order, > > with some flags) would make sense... > > <kaol> sorry, being busy with other stuff now > > * h01ger wonders what to do. basically all clean target in the Makefile > > call the clean-recursive target :-/ > > I don't know enough to help here. I'll see what I can do here... > The latest commit includes Yves' diff for nsis integration (more reading to > do!). It seems to build and install OK with ./configure and so forth, > but "make install" creates a blizzard of error messages that seem to be > caused by the hidden .svn files. Nonetheless, the program gets installed > and seems to work properly. maybe you can make "make install" ignore those files? regards, Holger |