bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Prevent 'make clean' from removing git-tracked files in lib/.


From: Kamil Dudka
Subject: [PATCH] Prevent 'make clean' from removing git-tracked files in lib/.
Date: Mon, 4 Feb 2013 15:57:01 +0100

* lib/Makefile.am (libfind_a_SOURCES): Move header files to EXTRA_DIST
in order not to get them on the CLEANFILES list due to unmatched string
substitutions.
---
 ChangeLog       |    7 +++++++
 lib/Makefile.am |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d96adc0..18e44f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-02-04  Kamil Dudka  <address@hidden>
+
+       Prevent 'make clean' from removing git-tracked files in lib/.
+       * lib/Makefile.am (libfind_a_SOURCES): Move header files to EXTRA_DIST
+       in order not to get them on the CLEANFILES list due to unmatched
+       string substitutions.
+
 2013-02-03  Kamil Dudka  <address@hidden>
 
        Fix compile-time warnings.
diff --git a/lib/Makefile.am b/lib/Makefile.am
index eba43d2..a2c931f 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -31,7 +31,7 @@ MAINTAINERCLEANFILES =
 AM_CPPFLAGS = -I../gl/lib -I$(top_srcdir)/gl/lib
 LDADD = ../gl/lib/libgnulib.a $(LIBINTL)
 
-libfind_a_SOURCES += printquoted.h listfile.h \
+EXTRA_DIST += printquoted.h listfile.h \
        regextype.h dircallback.h safe-atoi.h splitstring.h
 libfind_a_SOURCES += listfile.c extendbuf.c buildcmd.c \
        forcefindlib.c qmark.c printquoted.c regextype.c dircallback.c fdleak.c 
\
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]