Commit d1397612 authored by gerd's avatar gerd

tweak oasis


git-svn-id: https://godirepo.camlcity.org/svn/lib-netamqp/trunk@10 e13cfc2c-0730-40e6-b03a-d8ac042e47ad
parent 6face36b
2015-01-18 Gerd Stolpmann <gerd@e130.lan.sumadev.de>
* Release 1.1.1
* Tweak _oasis
2015-01-13 Gerd Stolpmann <gerd@e130.lan.sumadev.de>
* Release 1.1
......
.PHONY: build all doc install release clean postconf
.PHONY: build all doc install release clean postconf tag
version = 1.1
version = 1.1.1
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
......@@ -71,7 +75,6 @@ GFILES = \
release: _oasis
if [ ! -d doc/html ]; then echo "No docs!"; exit 1; fi
oasis setup
mkdir -p release
rm -rf release/$(fullname)
mkdir release/$(fullname)
......@@ -87,7 +90,17 @@ release: _oasis
cp doc/*.pdf release/$(fullname)/doc
cd release && tar czf $(fullname).tar.gz $(fullname)
.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
.PHONY: _oasis
_oasis: _oasis.in
sed -e 's/@VERSION@/$(version)/' _oasis.in >_oasis
oasis setup
......@@ -6,7 +6,7 @@ Authors: Gerd Stolpmann et al.
ConfType: custom (0.4)
BuildType: custom (0.4)
InstallType: custom (0.4)
BuildTools: make
BuildTools: make, omake
License: BSD-3-clause
OCamlVersion: >= 4.00.0
Homepage: http://projects.camlcity.org/projects/netamqp
......@@ -19,3 +19,6 @@ XCustomUninstall: make uninstall
Library "netamqp"
Path: .
Build: true
BuildDepends: rpc
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