Commit 8c7ca004 authored by gerd's avatar gerd

support for _oasis


git-svn-id: https://godirepo.camlcity.org/svn/lib-netamqp/trunk@8 e13cfc2c-0730-40e6-b03a-d8ac042e47ad
parent ef8c0d8c
2015-01-13 Gerd Stolpmann <gerd@thinkpad.lan.sumadev.de>
2015-01-13 Gerd Stolpmann <gerd@e130.lan.sumadev.de>
* Release 1.1
* Support for _oasis
* Implementing TLS connector
......
.PHONY: all doc install release
.PHONY: all doc install release clean postconf
version = 1.0
version = 1.1
fullname = netamqp-$(version)
all:
......@@ -15,6 +15,13 @@ install:
-optional netamqp.cmxa netamqp.a \
-patch-version "$(version)"
clean:
omake clean
postconf:
echo 'pkg_version="$(version)"' >>setup.data
# Note that the files netamqp_method_0_9.ml* are generated. For running
# the generator we need PXP, though, so by distributing the generated
# files we avoid this dependency.
......@@ -49,15 +56,19 @@ FILES = \
INSTALL \
LICENSE \
README \
ChangeLog
ChangeLog \
_oasis \
configure \
setup.ml
GFILES = \
generated/netamqp_methods_0_9.ml \
generated/netamqp_methods_0_9.mli
release:
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)
......@@ -74,3 +85,6 @@ release:
cd release && tar czf $(fullname).tar.gz $(fullname)
_oasis: _oasis.in
sed -e 's/@VERSION@/$(version)/' _oasis.in >_oasis
OASISFormat: 0.4
Name: netamqp
Version: @VERSION@
Synopsis: AMQP add-on for OCamlnet
Authors: Gerd Stolpmann et al.
ConfType: custom (0.4)
BuildType: custom (0.4)
InstallType: custom (0.4)
BuildTools: make
License: BSD-3-clause
OCamlVersion: >= 4.00.0
Homepage: http://projects.camlcity.org/projects/netamqp
XCustomConf: ./configure
PostConfCommand: make -s postconf
XCustomBuild: make build
XCustomInstall: make install
XCustomUninstall: make uninstall
Library "netamqp"
Path: .
#! /bin/sh
if [ $# -gt 0 ]; then
echo "configure [W]: The arguments passed to the configure script are"
echo "configure [W]: ignored - there is nothing to change:"
echo "configure [W]: $*"
fi
omake --configure .
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