>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> This is a think I have been planning to do with the makefiles
Lars> for a long time. I am sure there are details that can be
Lars> imporved, but this should make sure that the Makefile.am's are a
Lars> lot more uniform.

Lars> Please comment.

I'm not sure I like the contents of your include file.

+AUTOMAKE_OPTIONS = foreign 1.5
+

So you want to force automake 1.5? Can't this wait for 1.3.0cvs?

+DISTCLEANFILES= -r *.orig *.rej *~ *.bak lyx.1 core libintl.h config.h config.status 
+config.cache config.log \
+       $(srcdir)/sourcedoc/*~ \
+       $(srcdir)/sourcedoc/html $(srcdir)/sourcedoc/latex \
+       $(srcdir)/sourcedoc/man $(srcdir)/sourcedoc/Doxyfile

Most of the files there can only exist in _some_ directory (toplevel
or src). It does not make sense to mention them in a file included
everywhere. I don't like that.

+MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+       $(srcdir)/aclocal.m4 \
+       $(srcdir)/configure $(srcdir)/development/lyx.spec \
+       $(srcdir)/acinclude.m4 $(srcdir)/sourcedoc/Doxyfile

Here also, only $(srcdir)/Makefile.in is generic and should be here.

JMarc

Reply via email to