From: Brian P. <br...@va...> - 2001-02-12 19:06:18
|
"Sven M. Hallberg" wrote: > > Again, > > I thought I'd drop a note about this, so nobody trips over it. > > As there is a lot of flux in the list of source files especially in src/ > it's hard to keep track of every file removed/renamed/moved/whatever. I've > assembled a script gen_srclists.sh in the top source dir that generates a file > source.lst in every directory which has a Makefile.am with exactly one SOURCES > directive and an "include sources.lst" line. It fills sources.lst with simply > a sorted list of all .c and .h file in the respective directory. > > The script is just meant as a hack to quickly create _some_ list of files. If > that list is not 100% right it can easily be corrected. Further, renaming the > list file will of course lock the script out. > > Regards, > Sven > > PS: Maybe we could even modify the "manual" Makefiles to use these list files. > That way the need for seperate maintainance of the traditional and the > automake lists would disappear. Comments anyone? The src/Makefile.X11 file is always up to date. It's what Keith and I use. If your scripts will help you that's fine. -Brian |