Commit b74932c4 authored by POTTIER Francois's avatar POTTIER Francois

Attempt to fix the opam package.

Add dune-project at the root.
Move src/Makefile up to the root.
Add an install: entry in src/fix.opam.
parent d6579846
......@@ -25,7 +25,7 @@ install: all
.PHONY: clean
clean:
rm -f *~
rm -f *~ src/*~
dune clean
.PHONY: uninstall
......@@ -52,12 +52,12 @@ unpin:
# https://github.com/fpottier/headache
HEADACHE := headache
LIBHEAD := $(shell cd .. && pwd)/headers/library-header
LIBHEAD := $(shell pwd)/headers/library-header
FIND := $(shell if command -v gfind >/dev/null ; then echo gfind ; else echo find ; fi)
.PHONY: headache
headache:
@ $(FIND) . -regex ".*\.ml\(i\|y\|l\)?" \
@ $(FIND) src -regex ".*\.ml\(i\|y\|l\)?" \
-exec $(HEADACHE) -h $(LIBHEAD) "{}" ";"
.PHONY: release
......
(lang dune 1.4)
......@@ -10,6 +10,9 @@ bug-reports: "francois.pottier@inria.fr"
build: [
["dune" "build" "-p" name "-j" jobs]
]
install: [
["dune" "install" "-p" name]
]
depends: [
"ocaml" { >= "4.03" }
"dune" {build}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment