ocaml-containers/Makefile
Simon Cruanes 2a0ebbeaf7 Squashed 'sequence/' changes from efeb0fc..a5a1315
a5a1315 implement Set.Adapt.of_list for < 4.02
cdae072 removed many warnings
0226a4c more warnings enabled; fix tests
22705b2 change name of IO functions (keep compat)
REVERT: efeb0fc merge from master; version 0.5.4
REVERT: 2691bee version 0.5.3
REVERT: a373739 merge from master
REVERT: 0d721a6 release 0.5.2
REVERT: a50f307 merge from master
REVERT: e5625c6 merge from master: version 0.5.1
REVERT: 2ae771f oasis files

git-subtree-dir: sequence
git-subtree-split: a5a1315f7915761f2a85f3d0b7f88b81fb0a8f1d
2014-12-01 16:05:36 +01:00

67 lines
1.3 KiB
Makefile

# OASIS_START
# DO NOT EDIT (digest: a3c674b4239234cbbe53afe090018954)
SETUP = ocaml setup.ml
build: setup.data
$(SETUP) -build $(BUILDFLAGS)
doc: setup.data build
$(SETUP) -doc $(DOCFLAGS)
test: setup.data build
$(SETUP) -test $(TESTFLAGS)
all:
$(SETUP) -all $(ALLFLAGS)
install: setup.data
$(SETUP) -install $(INSTALLFLAGS)
uninstall: setup.data
$(SETUP) -uninstall $(UNINSTALLFLAGS)
reinstall: setup.data
$(SETUP) -reinstall $(REINSTALLFLAGS)
clean:
$(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
run-tests:
./run_tests.native
examples:
ocamlbuild examples/test_sexpr.native
push_doc: all doc
scp -r sequence.docdir/* cedeela.fr:~/simon/root/software/sequence/
push_stable: all
git checkout stable
git merge master -m 'merge from master'
oasis setup
git commit -a -m 'oasis files'
git push origin
git checkout master
VERSION=$(shell awk '^/Version:/ {print $$2}' _oasis)
update_next_tag:
@echo "update version to $(VERSION)..."
sed -i "s/NEXT_VERSION/$(VERSION)/g" *.ml *.mli
sed -i "s/NEXT_RELEASE/$(VERSION)/g" *.ml *.mli
.PHONY: benchs tests examples update_next_tag push_doc push_stable