I'm working on a project that has a custom
INSTALL file. Running
automake --add-missing (or more precisely,
autoreconf -i) will generate the GNU default
INSTALL file, and overwrite our file with it.
How can I prevent this behavior? I want it to either not generate the GNU
INSTALL file at all, or alternatively, create it with a different name.
Also, I don't want to disable any other files that
automake might generate.
Edit 1: From the
--add-missingoption is given,
automakewill add a generic version of the
INSTALLfile as well as the
COPYINGfile containing the text of the current version of the GNU General Public License […]. However, an existing
COPYINGfile will never be overwritten by
It says that an existing
COPYING file will not be overwritten, but doesn't say anything about the
INSTALL file, so it seems like it will be unconditionally overwritten.
Edit 2: As requested, here are my
Makefile.am, and also
autogen.sh that we run to
autoreconf the project:
AC_INIT([program name], [version number], [bug report], [short name], [url]) AC_CONFIG_SRCDIR([Main/Source/main.cpp]) AM_PROG_AS AC_CANONICAL_TARGET AM_INIT_AUTOMAKE AC_PROG_CC AC_PROG_CXX CFLAGS="$CFLAGS $SDL_CFLAGS " LIBS="$LIBS $SDL_LIBS" CPPFLAGS="$SDL_CFLAGS -DLINUX -DLOCAL_STATE_DIR=\\\"$sharedstatedir/<program name>\\\" -DDATADIR=\\\"$datadir\\\" -DUSE_SDL -DGCC" AC_PROG_INSTALL AC_PROG_RANLIB AC_CONFIG_FILES(<list of Makefiles in subdirs>) AC_OUTPUT
SUBDIRS = FooLib Main Bar Baz EXTRA_DIST = LICENSING <and a bunch of unrelated files>
autoreconf -f -i