diff options
author | 2009-02-19 13:55:21 +0100 | |
---|---|---|
committer | 2009-02-19 14:05:04 +0100 | |
commit | e7cb97400fc75827976a48da0138a551496fe14a (patch) | |
tree | 5c4163786c43d7e39a80116e16ef614ba9610c96 /debian/coqvars.mk | |
parent | 822ee2f2f71d84af35d3adede92a857ce6159b89 (diff) |
Added coqvars.mk helper for coq-related packages.
Diffstat (limited to 'debian/coqvars.mk')
-rw-r--r-- | debian/coqvars.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/coqvars.mk b/debian/coqvars.mk new file mode 100644 index 00000000..3cf8fe08 --- /dev/null +++ b/debian/coqvars.mk @@ -0,0 +1,12 @@ +# Current coq version +COQ_VERSION ?= $(shell /usr/bin/coqc --version | grep version | sed 's/^.*version \(.*\) ([^)]*)$/\1/') + +# Current coq ABI +COQ_ABI ?= $(shell cat /usr/lib/coq/abi) + +# Standard library path +COQ_STDLIB_DIR ?= $(shell /usr/bin/coqc -where) + +# Directory for contributions +# External libraries should go there +COQ_USERCONTRIB_DIR ?= $(COQ_STDLIB_DIR)/user-contrib |