summaryrefslogtreecommitdiff
path: root/xts5/Xlib4
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2010-10-13 10:52:46 -0700
committerAaron Plattner <aplattner@nvidia.com>2010-10-13 10:52:46 -0700
commit3594ee0265a0fbb01458b3448d902978bb340833 (patch)
treedfb27005686fc4e703cdddb6d7b4c00d8710201c /xts5/Xlib4
parent0a1b333821e8995c2f009cde6361f7c9cd90678e (diff)
[dist] Distribute files necessary to rebuild after distclean
The 'distclean' target deletes all of the .c files that were generated during the dist step. Since the .m files are not shipped in the tarball, it becomes impossible to rebuild after that. Fix this by shipping the .m files in the tarball along with the .mc helper libraries that mc needs to rebuild the .c files. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Diffstat (limited to 'xts5/Xlib4')
-rw-r--r--xts5/Xlib4/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/xts5/Xlib4/Makefile.am b/xts5/Xlib4/Makefile.am
index c4704efc..3fa3682b 100644
--- a/xts5/Xlib4/Makefile.am
+++ b/xts5/Xlib4/Makefile.am
@@ -14,6 +14,9 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
testprogdir = $(libexecdir)/$(subdir)
nobase_testprog_PROGRAMS = $(tprogs)
BUILT_SOURCES = $(tprogs:=.c)
+EXTRA_DIST = \
+ $(addsuffix .m,$(filter-out %_m,$(tprogs))) \
+ XCreateWindow/commattr.mc
DISTCLEANFILES = $(BUILT_SOURCES)
tprogs = \