Skip to content

Commit

Permalink
114.33+30
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremie Dimino committed Feb 27, 2017
1 parent 4556057 commit f384535
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
INSTALL_ARGS := $(if $(PREFIX),--prefix $(PREFIX),)
NAME := sexplib

# Default rule
default:
jbuilder build-package $(NAME)

install:
opam-installer -i --prefix $(PREFIX) $(NAME).install
jbuilder install $(INSTALL_ARGS)

uninstall:
opam-installer -u --prefix $(PREFIX) $(NAME).install
jbuilder uninstall $(INSTALL_ARGS)

reinstall: uninstall reinstall

Expand Down
2 changes: 2 additions & 0 deletions num/lib/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
(public_name sexplib.num)
(libraries (num sexplib))
(preprocess no_preprocessing)))

(jbuild_version jane_street)
2 changes: 1 addition & 1 deletion sexplib.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ bug-reports: "https://github.com/janestreet/sexplib/issues"
dev-repo: "https://github.com/janestreet/sexplib.git"
license: "Apache-2.0"
build: [
["jbuilder" "build-package" "sexplib" "-j" jobs]
["jbuilder" "build-package" "sexplib" "-j" jobs]
]
depends: [
"base"
Expand Down
2 changes: 2 additions & 0 deletions src/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@

(ocamllex (lexer))
(ocamlyacc (parser parser_with_layout))

(jbuild_version jane_street)
2 changes: 2 additions & 0 deletions test/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
(library
((name sexplib_ounit_tests)
(libraries (sexplib str unix))))

(jbuild_version jane_street)
2 changes: 2 additions & 0 deletions unix/lib/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
(public_name sexplib.unix)
(libraries (sexplib unix))
(preprocess no_preprocessing)))

(jbuild_version jane_street)

0 comments on commit f384535

Please sign in to comment.