Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 0fe69b6d authored by Thierry Martinez's avatar Thierry Martinez
Browse files

obuild does not support line break in 'requires' field

parent b2ba7c67
Branches
Tags
No related merge requests found
DUNE_INSTALL_PREFIX = _build/install/default
.PHONY : all
all :
dune build
......@@ -5,8 +7,15 @@ all :
.PHONY : install
install : all
dune build @install
# obuild does not support line break in 'requires' field
sed -i '/requires = "[^"]*$$/{:x N;s/\n */ /;/[^"]$$/bx}' \
$(DUNE_INSTALL_PREFIX)/lib/clangml-transforms/META
dune install
.PHONY : uninstall
uninstall :
dune uninstall
.PHONY : tests
tests :
dune build tests/tests.exe
......
......@@ -6,7 +6,8 @@ homepage: "https://gitlab.inria.fr/tmartine/clangml-transforms"
bug-reports: "https://gitlab.inria.fr/tmartine/clangml-transforms/issues"
license: "BSD"
dev-repo: "git+https://gitlab.inria.fr/tmartine/clangml-transforms.git"
build: [make]
build: ["dune" "build" "-p" name "-j" jobs]
# use Makefile for install since there is some manual patches applied
install: [make "install"]
remove: [make "uninstall"]
depends: [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment