Skip to content
Snippets Groups Projects
Commit b7247b08 authored by Ralf Jung's avatar Ralf Jung
Browse files

update build system

parent 3dd95b21
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ clean: Makefile.coq
# Create Coq Makefile. POSIX awk can't do in-place editing, but coq_makefile wants the real filename, so we do some file gymnastics.
Makefile.coq: _CoqProject Makefile awk.Makefile
coq_makefile $(COQ_MAKEFILE_FLAGS) -f _CoqProject -o Makefile.coq
coq_makefile -f _CoqProject -o Makefile.coq
mv Makefile.coq Makefile.coq.tmp && awk -f awk.Makefile Makefile.coq.tmp > Makefile.coq && rm Makefile.coq.tmp
# Install build-dependencies
......
......@@ -4,7 +4,7 @@ set -e
## Usage:
## ./opam-pins.sh < opam.pins
if ! which curl; then
if ! which curl >/dev/null; then
echo "opam-pins needs curl. Please install curl and try again."
exit 1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment