Fix: make check in out of tree build
[babeltrace.git] / tests / bin / Makefile.am
index 1243823fb4d57f700d70cb84aea07ce480111e1f..0245238c626a63e33591ebd3648e2963f57b2dfd 100644 (file)
@@ -1 +1,7 @@
-EXTRA_DIST = test_trace_read
+noinst_SCRIPTS = test_trace_read
+CLEANFILES = $(noinst_SCRIPTS)
+EXTRA_DIST = test_trace_read.in
+
+$(noinst_SCRIPTS): %: %.in
+       sed "s#@TOPSRCDIR@#$(top_srcdir)#g" < $< > $@
+       chmod +x $@
This page took 0.023943 seconds and 4 git commands to generate.