2004-10-20 Stepan Kasal * info/Makefile.am (doc.c, key.c, funs.h): Don't distribute them. of these three files. (ginfo_SOURCES, nodist_ginfo_SOURCES): Move files. (infokey_SOURCES, nodist_infokey_SOURCES): Likewise. (DISTCLEANFILES): Include generated_sources. --- info/Makefile.am 2004-10-20 16:23:40.000000000 +0200 +++ info/Makefile.am 2004-10-20 16:26:11.000000000 +0200 @@ -33,10 +33,6 @@ # source files which contain DECLARE_INFO_COMMAND. `funs.h' is a header file # listing the functions found. `doc.c' is a structure containing pointers # to those functions along with completable names and documentation strings. -# -# We distribute these files even though they get rebuilt by -# installers, just in case something goes wrong. Then installers have -# the intended sources there to use or debug with. generated_sources = doc.c key.c funs.h @@ -54,9 +50,10 @@ infomap.c infomap.h m-x.c man.c man.h nodemenu.c nodes.c nodes.h \ search.c search.h session.c session.h signals.c signals.h \ termdep.h terminal.c terminal.h tilde.c tilde.h \ - variables.c variables.h window.c window.h \ - doc.c funs.h -infokey_SOURCES = infokey.c infokey.h key.c key.h funs.h + variables.c variables.h window.c window.h +nodist_ginfo_SOURCES = doc.c funs.h +infokey_SOURCES = infokey.c infokey.h key.h +nodist_infokey_SOURCES = key.c funs.h # Files with Info commands defined that makedoc should read. cmd_sources = $(srcdir)/session.c $(srcdir)/echo-area.c $(srcdir)/infodoc.c \ @@ -67,3 +64,6 @@ $(generated_sources): makedoc$(EXEEXT) $(cmd_sources) rm -f $(generated_sources) $(top_builddir)/$(native_tools)/info/makedoc $(cmd_sources) + +# These files are not distributed. +DISTCLEANFILES = $(generated_sources)