summaryrefslogtreecommitdiff
path: root/xts5/Xlib13/Makefile.am
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2009-10-07 11:39:54 -0700
committerDan Nicholson <dbn.lists@gmail.com>2009-10-07 13:35:24 -0700
commitb912964458273e2a1a21e0d03c1cb14acc0204bf (patch)
tree0af6e273b37047e9c16bc881e9c41a7194cc185f /xts5/Xlib13/Makefile.am
parent799ccef3e2559f7c8a11f7e31800f6a2500be49e (diff)
xts5: Install test programs to libexec subdirs matching scenarios
In order to keep the scenarios usable in the source tree and while installed, install the test programs to subdirectories of $(libexecdir) matching the source tree. This gives, for example, /usr/libexec/xts5/Xproto/pAllocColor.
Diffstat (limited to 'xts5/Xlib13/Makefile.am')
-rw-r--r--xts5/Xlib13/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/xts5/Xlib13/Makefile.am b/xts5/Xlib13/Makefile.am
index 9c88875a..a78c5e86 100644
--- a/xts5/Xlib13/Makefile.am
+++ b/xts5/Xlib13/Makefile.am
@@ -4,7 +4,8 @@ AUTOMAKE_OPTIONS = subdir-objects
AM_CFLAGS = $(XTS_LCFLAGS) $(XTS_CFLAGS)
LDADD = $(TCM) $(XTS_LLIBS) $(XTS_LIBS)
-libexec_PROGRAMS = $(tprogs)
+testprogdir = $(libexecdir)/$(subdir)
+nobase_testprog_PROGRAMS = $(tprogs)
BUILT_SOURCES = $(tprogs:$(EXEEXT)=.c)
CLEANFILES = $(BUILT_SOURCES)