diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-05-24 13:38:15 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-05-24 13:38:34 -0700 |
commit | 085f98bba131b708bf68e7162f19324629e3263a (patch) | |
tree | b01b786146933fac51fe09e21622350e5c1b608d /configure.ac | |
parent | 6fea170e2f1f936202657c0c4aaf842c672b72e5 (diff) | |
download | grep-085f98bba131b708bf68e7162f19324629e3263a.tar.gz |
dist: don't distribute lib/colorize.c
'configure' creates this file, so it shouldn't be distributed; see:
http://bugs.gnu.org/17480
* configure.ac (COLORIZE_SOURCE): New macro.
Don't use AC_CONFIG_LINKS for lib/colorize.c.
* lib/Makefile.am (nodist_libgreputils_a_SOURCES): New macro.
(libgreputils_a_SOURCES): Remove colorize.c.
(CLEANFILES): Add colorize.c
(colorize.c): New rule.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c301ebe7..7ac29373 100644 --- a/configure.ac +++ b/configure.ac @@ -190,7 +190,8 @@ case $host_os in mingw*) suffix=w32 ;; *) suffix=posix ;; esac -AC_CONFIG_LINKS([lib/colorize.c:lib/colorize-$suffix.c]) +COLORIZE_SOURCE=colorize-$suffix.c +AC_SUBST([COLORIZE_SOURCE]) AC_CONFIG_FILES([ Makefile |