[PATCH xts 4/3] [dist] Don't clean BUILT_SOURCES

Aaron Plattner aplattner at nvidia.com
Thu Sep 16 10:30:44 PDT 2010


We distribute the generated .c files, so we shouldn't clean them when
the user runs "make clean".  They should be cleaned as part of the
"distclean" target.

Signed-off-by: Aaron Plattner <aplattner at nvidia.com>
---
Oops, needed one more, to fix building from the release tarball after doing
"make clean".

 xts5/XI/Makefile.am      |    2 +-
 xts5/XIproto/Makefile.am |    2 +-
 xts5/Xlib10/Makefile.am  |    2 +-
 xts5/Xlib11/Makefile.am  |    2 +-
 xts5/Xlib12/Makefile.am  |    2 +-
 xts5/Xlib13/Makefile.am  |    2 +-
 xts5/Xlib14/Makefile.am  |    2 +-
 xts5/Xlib15/Makefile.am  |    2 +-
 xts5/Xlib16/Makefile.am  |    2 +-
 xts5/Xlib17/Makefile.am  |    2 +-
 xts5/Xlib3/Makefile.am   |    2 +-
 xts5/Xlib4/Makefile.am   |    2 +-
 xts5/Xlib5/Makefile.am   |    2 +-
 xts5/Xlib6/Makefile.am   |    2 +-
 xts5/Xlib7/Makefile.am   |    2 +-
 xts5/Xlib8/Makefile.am   |    2 +-
 xts5/Xlib9/Makefile.am   |    2 +-
 xts5/Xopen/Makefile.am   |    2 +-
 xts5/Xproto/Makefile.am  |    2 +-
 19 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/xts5/XI/Makefile.am b/xts5/XI/Makefile.am
index 000bbc2..23be6f2 100644
--- a/xts5/XI/Makefile.am
+++ b/xts5/XI/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	AllowDeviceEvents \
diff --git a/xts5/XIproto/Makefile.am b/xts5/XIproto/Makefile.am
index 483537c..4c27deb 100644
--- a/xts5/XIproto/Makefile.am
+++ b/xts5/XIproto/Makefile.am
@@ -15,7 +15,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	AllowDeviceEvents \
diff --git a/xts5/Xlib10/Makefile.am b/xts5/Xlib10/Makefile.am
index 3f99f17..093bd55 100644
--- a/xts5/Xlib10/Makefile.am
+++ b/xts5/Xlib10/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	XActivateScreenSaver \
diff --git a/xts5/Xlib11/Makefile.am b/xts5/Xlib11/Makefile.am
index 64237fa..8340f20 100644
--- a/xts5/Xlib11/Makefile.am
+++ b/xts5/Xlib11/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	ButtonPress \
diff --git a/xts5/Xlib12/Makefile.am b/xts5/Xlib12/Makefile.am
index c7a7568..1e5caeb 100644
--- a/xts5/Xlib12/Makefile.am
+++ b/xts5/Xlib12/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	XCheckIfEvent \
diff --git a/xts5/Xlib13/Makefile.am b/xts5/Xlib13/Makefile.am
index ac9cd5c..25280ef 100644
--- a/xts5/Xlib13/Makefile.am
+++ b/xts5/Xlib13/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	XAllowEvents \
diff --git a/xts5/Xlib14/Makefile.am b/xts5/Xlib14/Makefile.am
index d8cf245..54a38c4 100644
--- a/xts5/Xlib14/Makefile.am
+++ b/xts5/Xlib14/Makefile.am
@@ -15,7 +15,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	XBaseFontNameListOfFontSet \
diff --git a/xts5/Xlib15/Makefile.am b/xts5/Xlib15/Makefile.am
index 57bfb84..c20ffe3 100644
--- a/xts5/Xlib15/Makefile.am
+++ b/xts5/Xlib15/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 XDefaultString_LDADD = $(top_builddir)/xts5/src/libXR5/libXR5.la $(LDADD)
 
diff --git a/xts5/Xlib16/Makefile.am b/xts5/Xlib16/Makefile.am
index 0070d7e..c1f02b2 100644
--- a/xts5/Xlib16/Makefile.am
+++ b/xts5/Xlib16/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 XrmCombineDatabase_LDADD = $(top_builddir)/xts5/src/libXR5/libXR5.la $(LDADD)
 XrmCombineFileDatabase_LDADD = $(top_builddir)/xts5/src/libXR5/libXR5.la $(LDADD)
diff --git a/xts5/Xlib17/Makefile.am b/xts5/Xlib17/Makefile.am
index f174ab6..e416031 100644
--- a/xts5/Xlib17/Makefile.am
+++ b/xts5/Xlib17/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	XAddPixel \
diff --git a/xts5/Xlib3/Makefile.am b/xts5/Xlib3/Makefile.am
index bb11aad..ef1f8a1 100644
--- a/xts5/Xlib3/Makefile.am
+++ b/xts5/Xlib3/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 # Tests ending in _m test the macro version of Xlib
 tprogs = XAllPlanes \
diff --git a/xts5/Xlib4/Makefile.am b/xts5/Xlib4/Makefile.am
index 3188a11..c4704ef 100644
--- a/xts5/Xlib4/Makefile.am
+++ b/xts5/Xlib4/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	XChangeWindowAttributes/XChangeWindowAttributes \
diff --git a/xts5/Xlib5/Makefile.am b/xts5/Xlib5/Makefile.am
index 38eb4da..f51d6f0 100644
--- a/xts5/Xlib5/Makefile.am
+++ b/xts5/Xlib5/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	XChangeProperty \
diff --git a/xts5/Xlib6/Makefile.am b/xts5/Xlib6/Makefile.am
index 928740a..cb03974 100644
--- a/xts5/Xlib6/Makefile.am
+++ b/xts5/Xlib6/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	XCreateFontCursor \
diff --git a/xts5/Xlib7/Makefile.am b/xts5/Xlib7/Makefile.am
index 4fd360c..521453c 100644
--- a/xts5/Xlib7/Makefile.am
+++ b/xts5/Xlib7/Makefile.am
@@ -15,7 +15,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	XAllocColor \
diff --git a/xts5/Xlib8/Makefile.am b/xts5/Xlib8/Makefile.am
index e67a9bf..c0f39d7 100644
--- a/xts5/Xlib8/Makefile.am
+++ b/xts5/Xlib8/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 XFlushGC_LDADD = $(top_builddir)/xts5/src/libXR5/libXR5.la $(LDADD)
 
diff --git a/xts5/Xlib9/Makefile.am b/xts5/Xlib9/Makefile.am
index 56fffde..f7d7eef 100644
--- a/xts5/Xlib9/Makefile.am
+++ b/xts5/Xlib9/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	XClearArea \
diff --git a/xts5/Xopen/Makefile.am b/xts5/Xopen/Makefile.am
index 8250eb7..5094518 100644
--- a/xts5/Xopen/Makefile.am
+++ b/xts5/Xopen/Makefile.am
@@ -14,7 +14,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	XAllocNamedColor \
diff --git a/xts5/Xproto/Makefile.am b/xts5/Xproto/Makefile.am
index c0ba4b9..f3c5a1b 100644
--- a/xts5/Xproto/Makefile.am
+++ b/xts5/Xproto/Makefile.am
@@ -15,7 +15,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
 testprogdir = $(libexecdir)/$(subdir)
 nobase_testprog_PROGRAMS = $(tprogs)
 BUILT_SOURCES = $(tprogs:=.c)
-CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
 
 tprogs = \
 	pAllocColor \
-- 
1.7.0.4



More information about the xorg-devel mailing list