forked from xapi-project/xen-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request xapi-project#9 from xapi-project/ppx_trunk
Merge ppx_trunk into master for moving to OCaml 4.02.3 and PPX
- Loading branch information
Showing
4 changed files
with
49 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,41 @@ | ||
BINDIR?=/tmp/ | ||
# OASIS_START | ||
# DO NOT EDIT (digest: a3c674b4239234cbbe53afe090018954) | ||
|
||
.PHONY: build install uninstall clean | ||
SETUP = ocaml setup.ml | ||
|
||
build: configure.done | ||
obuild build | ||
build: setup.data | ||
$(SETUP) -build $(BUILDFLAGS) | ||
|
||
configure.done: | ||
obuild configure | ||
touch configure.done | ||
doc: setup.data build | ||
$(SETUP) -doc $(DOCFLAGS) | ||
|
||
install: | ||
install -m 0755 dist/build/sm-cli/sm-cli ${BINDIR} | ||
test: setup.data build | ||
$(SETUP) -test $(TESTFLAGS) | ||
|
||
uninstall: | ||
rm -f ${BINDIR}/sm-cli | ||
all: | ||
$(SETUP) -all $(ALLFLAGS) | ||
|
||
install: setup.data | ||
$(SETUP) -install $(INSTALLFLAGS) | ||
|
||
uninstall: setup.data | ||
$(SETUP) -uninstall $(UNINSTALLFLAGS) | ||
|
||
reinstall: setup.data | ||
$(SETUP) -reinstall $(REINSTALLFLAGS) | ||
|
||
clean: | ||
obuild clean | ||
rm -f configure.done | ||
$(SETUP) -clean $(CLEANFLAGS) | ||
|
||
distclean: | ||
$(SETUP) -distclean $(DISTCLEANFLAGS) | ||
|
||
setup.data: | ||
$(SETUP) -configure $(CONFIGUREFLAGS) | ||
|
||
configure: | ||
$(SETUP) -configure $(CONFIGUREFLAGS) | ||
|
||
.PHONY: build doc test all install uninstall reinstall clean distclean configure | ||
|
||
# OASIS_STOP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
OASISFormat: 0.4 | ||
BuildTools: ocamlbuild | ||
Name: sm-cli | ||
Version: 0.0.1 | ||
Synopsis: CLI for interacting with SMAPI implementations | ||
Authors: Me <me@myhost.com> | ||
License: LGPL with OCaml linking exception | ||
Plugins: META (0.4), DevFiles (0.4) | ||
|
||
Executable sm-cli | ||
MainIs: main.ml | ||
Path: . | ||
BuildDepends: xcp, xcp.storage, re, re.str, rpclib, rpclib.json, cmdliner, threads | ||
CompiledObject: best |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.