|
From: | Stefano Lattarini |
Subject: | Re: [bug-gawk] [gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. |
Date: | Tue, 25 Oct 2011 10:03:54 +0200 |
User-agent: | KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) |
On Sunday 23 October 2011, Aharon Robbins wrote: > I'm sorry. I completely do not understand what you're trying to say. > The following should explain things more clearly: <http://www.gnu.org/software/automake/manual/html_node/distcleancheck.html> If it doesn't, it's a bug in the documentation, so please let us know. > Can you please submit a working patch? > Attached is my attempt, based on the `master' branch. Regards, Stefano |
From 3aa961a23e3c350c23bbd3f4e83100ca34caa5e1 Mon Sep 17 00:00:00 2001 Message-Id: <address@hidden> From: Stefano Lattarini <address@hidden> Date: Tue, 25 Oct 2011 10:01:15 +0200 Subject: [PATCH] dist: generated file `version.c' is not removed by "make distclean" * Makefile.am (distcleancheck_listfiles): Define to ignore the generated `version.c' file. --- ChangeLog | 6 ++++++ Makefile.am | 5 +++++ Makefile.in | 7 ++++++- 3 files changed, 17 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4edb164..877ba6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-10-25 Stefano Lattarini <address@hidden> (tiny change) + + dist: generated file `version.c' is not removed by "make distclean" + * Makefile.am (distcleancheck_listfiles): Define to ignore the + generated `version.c' file. + 2011-09-30 Eli Zaretskii <address@hidden> * io.c (remap_std_file): Fix non-portable code that caused diff --git a/Makefile.am b/Makefile.am index 13ba6bd..1120a45 100644 --- a/Makefile.am +++ b/Makefile.am @@ -63,6 +63,11 @@ EXTRA_DIST = \ vms \ ylwrap +# It's OK for the generated file `version.c' not to be removed by +# "make distclean". +distcleancheck_listfiles = \ + find . -type f -print | grep -v '^\./version\.c$$' + # The order to do things in. # Build explicitly in "." in order to build gawk first, so # that `make check' without a prior `make' works. diff --git a/Makefile.in b/Makefile.in index 958b4a1..9040193 100644 --- a/Makefile.in +++ b/Makefile.in @@ -173,7 +173,6 @@ am__relativize = \ DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print -distcleancheck_listfiles = find . -type f -print # Directory for gawk's data files. Automake supplies datadir. pkgdatadir = $(datadir)/awk @@ -340,6 +339,12 @@ EXTRA_DIST = \ ylwrap +# It's OK for the generated file `version.c' not to be removed by +# "make distclean". +distcleancheck_listfiles = \ + find . -type f -print | grep -v '^\./version\.c$$' + + # The order to do things in. # Build explicitly in "." in order to build gawk first, so # that `make check' without a prior `make' works. -- 1.7.2.3
[Prev in Thread] | Current Thread | [Next in Thread] |