[PATCH] configure.ac: removing annoying change of INSTALL file

Liu Aleaxander <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAB4zccgxgb1sdghEJoxDkYcCzMjzvZvh2037uR69pRHt8VcGmg@mail.gmail.com>
From ed5beda9bb886619cee7ee7b85dce3215861aeb8 Mon Sep 17 00:00:00 2001
From: Yuanhan Liu <[email protected]>
Date: Wed, 30 May 2012 20:42:00 +0800
Subject: [PATCH] configure.ac: removing annoying change of INSTALL file

Every time we run ./autogen.sh, the INSTALL file would be replace by
/usr/share/automake-1.11/INSTALL, which changes the file. This is very
annoying since it messes up the result of 'git diff' and git always
wants to commit it.

Declare it as foreign would fix this annoying issue. Since it's not a
GNU project, it makes sense to do so.

Signed-off-by: Yuanhan Liu <[email protected]>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index b1f3c4b..0fd1da1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,7 +11,7 @@ AC_USE_SYSTEM_EXTENSIONS
 AC_CONFIG_SRCDIR(src/cairo.h)
 AC_CONFIG_HEADERS(config.h)

-AM_INIT_AUTOMAKE([1.11 -Wall no-define no-dist-gzip dist-xz])
+AM_INIT_AUTOMAKE([1.11 foreign -Wall no-define no-dist-gzip dist-xz])
 AM_SILENT_RULES([yes])

 # Initialize libtool
-- 
1.7.3.1
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.