Commit 6063afcf authored by Gerd Stolpmann's avatar Gerd Stolpmann

pre-rel fixes

parent 9882f877
......@@ -3,10 +3,6 @@
version = 1.1.2
fullname = netamqp-$(version)
trunk = https://godirepo.camlcity.org/svn/lib-netamqp/trunk
tag = https://godirepo.camlcity.org/svn/lib-netamqp/tags/netamqp-$(version)
build:
omake
......@@ -93,12 +89,16 @@ release: _oasis
.PHONY: tag
tag:
@status=`svn status | grep -v '^\?' || true`; \
if [ -n "$$status" ]; then echo "Error: svn status not clean"; exit 1; \
else svn cp $(trunk) $(tag); echo "New tag: $(tag)"; fi
@master="$$(git branch | grep '* master')"; \
if [ -z "$$master" ]; then \
echo "Error: not on master branch"; \
exit 1; \
fi
@status="$$(git status -uno -s)"; \
if [ -n "$$status" ]; then echo "Error: git status not clean"; exit 1; fi
git tag -a -m "netamqp-$(version)" netamqp-$(version)
git push origin master
@echo "New tag: netamqp-$(version)"
.PHONY: _oasis
_oasis: _oasis.in
......
static. =
EXTRAFLAGS =
ConfMsgChecking(for -safe-string)
if $(equal $(shell-code ocamlc -safe-string), 0)
if $(equal $(shell-code ocamlc -safe-string >& /dev/null), 0)
EXTRAFLAGS += -safe-string
ConfMsgResult(yes)
export
......
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