mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -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
|
||||
@mkdir -p qtest
|
||||
@qtest extract --preamble $(QTEST_PREAMBLE) \
|
||||
-o qtest/run_qtest.cppo.ml \
|
||||
$(QTESTABLE) 2> /dev/null
|
||||
@if which qtest ; then \
|
||||
qtest extract --preamble $(QTEST_PREAMBLE) \
|
||||
-o qtest/run_qtest.cppo.ml \
|
||||
$(QTESTABLE) 2> /dev/null ; \
|
||||
else touch qtest/run_qtest.cppo.ml ; \
|
||||
fi
|
||||
|
||||
push-stable:
|
||||
git checkout stable
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue