mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
fix Makefile: if qtest not installed, should still be able to build
This commit is contained in:
parent
4ced583f33
commit
07f608009a
1 changed files with 6 additions and 3 deletions
9
Makefile
9
Makefile
|
|
@ -82,9 +82,12 @@ QTEST_PREAMBLE='open CCFun;; '
|
||||||
|
|
||||||
qtest-gen: qtest-clean
|
qtest-gen: qtest-clean
|
||||||
@mkdir -p qtest
|
@mkdir -p qtest
|
||||||
@qtest extract --preamble $(QTEST_PREAMBLE) \
|
@if which qtest ; then \
|
||||||
-o qtest/run_qtest.cppo.ml \
|
qtest extract --preamble $(QTEST_PREAMBLE) \
|
||||||
$(QTESTABLE) 2> /dev/null
|
-o qtest/run_qtest.cppo.ml \
|
||||||
|
$(QTESTABLE) 2> /dev/null ; \
|
||||||
|
else touch qtest/run_qtest.cppo.ml ; \
|
||||||
|
fi
|
||||||
|
|
||||||
push-stable:
|
push-stable:
|
||||||
git checkout stable
|
git checkout stable
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue