Fix: make check in out of tree build
[babeltrace.git] / tests / bin / Makefile.am
index b50d5a8a7ea568a8da8ee115f94d0608114de53e..0245238c626a63e33591ebd3648e2963f57b2dfd 100644 (file)
@@ -1 +1,7 @@
-dist_noinst_SCRIPTS = 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.025542 seconds and 4 git commands to generate.