21 lines
525 B
Makefile
21 lines
525 B
Makefile
|
noinst_SCRIPTS = run-test.sh
|
||
|
EXTRA_DIST = run-test.sh.in
|
||
|
|
||
|
TEST_JS = \
|
||
|
testcommon/ui.js \
|
||
|
interactive/box-layout.js
|
||
|
EXTRA_DIST += $(TEST_JS)
|
||
|
|
||
|
TEST_MISC = \
|
||
|
testcommon/test.css
|
||
|
EXTRA_DIST += $(TEST_MISC)
|
||
|
|
||
|
# We substitute in bindir so it works as an autostart
|
||
|
# file when built in a non-system prefix
|
||
|
run-test.sh: run-test.sh.in
|
||
|
$(AM_V_GEN) sed \
|
||
|
-e "s|@GJS_JS_DIR[@]|$(GJS_JS_DIR)|" \
|
||
|
-e "s|@GJS_JS_NATIVE_DIR[@]|$(GJS_JS_NATIVE_DIR)|" \
|
||
|
-e "s|@srcdir[@]|$(srcdir)|" \
|
||
|
$< > $@ && chmod a+x $@
|