1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
.PHONY: mostlyclean-local mostlyclean-local-check
SCRPTS = \
check-test-compilation \
check-test-program-linking \
check-test-module-linking \
check-test-runs \
check-test-runs-m \
compile-tests \
link-test-programs \
link-to-modules \
run-test-programs \
run-test-programs-w-output \
run-test-programs-m \
run-test-programs-w-output-m \
get-theme-d-config-var \
compute-theme-d-pcode-deps \
compute-theme-d-module-deps \
compute-theme-d-program-deps
SCMSCRIPTS = $(patsubst %,%.scm,$(SCRPTS))
BINSCRIPTS = get-theme-d-config-var.scm compute-theme-d-pcode-deps.scm \
compute-theme-d-module-deps.scm compute-theme-d-program-deps.scm
TOOLSCRIPTS = \
check-test-compilation.scm \
check-test-program-linking.scm \
check-test-module-linking.scm \
check-test-runs.scm \
check-test-runs-m.scm \
clean-test-env.sh \
link-clean-test-env.sh \
compile-tests.scm \
link-test-programs.scm \
link-to-modules.scm \
run-test-programs.scm \
run-test-programs-w-output.scm \
run-test-programs-m.scm \
run-test-programs-w-output-m.scm \
compare-output.sh
toolsdir = $(THEME_D_TOOLS_DIR)
tools_DATA = $(TOOLSCRIPTS) theme-d.el
scriptdir = $(THEME_D_SCRIPT_DIR)
script_DATA = $(BINSCRIPTS)
mybindir = $(bindir)
mybin_DATA = setup-theme-d-test-env setup-theme-d-bootstrap-env
$(SCMSCRIPTS): %.scm: %.scm.in
sed -e 's|@theme_d_guile@|$(THEME_D_GUILE)|g' $< > $@
chmod 755 $@
# Not sure if the following is needed.
install-data-hook::
cd $(DESTDIR)/$(toolsdir) ; \
chmod 755 $(TOOLSCRIPTS)
cd $(DESTDIR)/$(scriptdir) ; \
chmod 755 $(BINSCRIPTS)
cd $(DESTDIR)/$(mybindir) ; \
chmod 755 setup-theme-d-test-env
cd $(DESTDIR)/$(mybindir) ; \
chmod 755 setup-theme-d-bootstrap-env
mostlyclean-local : mostlyclean-local-check
mostlyclean-local-check :
-rm $(SCMSCRIPTS)
|