Commit 296fd695 authored by gerd's avatar gerd

tweakign oasis


git-svn-id: https://godirepo.camlcity.org/svn/wdialog/[email protected] f54c9a64-0731-4a92-b797-30fd5898f27c
parent d1344561
......@@ -59,9 +59,11 @@ distclean:
#$(MAKE) -C tools distclean
for pkg in src/*/.; do test ! -f $$pkg/Makefile || $(MAKE) -C $$pkg distclean; done
.PHONY: _oasis
_oasis: _oasis.in
v=`./configure -version 2>/dev/null` && \
sed -e "s/@[email protected]/$$v/" _oasis.in >_oasis
oasis setup
.PHONY: postconf
postconf:
......
......@@ -20,10 +20,10 @@ XCustomUninstall: make uninstall
Library "wdialog"
Path: src/wdialog
BuildDepends: pxp-engine >= 1.2
BuildDepends: netstring >= 4.0.0
BuildDepends: netcgi2 >= 4.0.0
BuildDepends: netstring-pcre >= 4.0.0
BuildDepends: pcre >= 0
BuildDepends+: netstring >= 4.0.0
BuildDepends+: netcgi2 >= 4.0.0
BuildDepends+: netstring-pcre >= 4.0.0
BuildDepends+: pcre >= 0
Library "wd-inmemory-session"
Path: src/wd-inmemory-session
......@@ -31,9 +31,9 @@ Library "wd-inmemory-session"
Library "wd-session-daemon"
Path: src/wd-session-daemon
BuildDepends: wdialog
BuildDepends: rpc
BuildDepends: inifiles
BuildDepends+: wdialog
BuildDepends+: rpc
BuildDepends+: inifiles
Library "wd-xmlcompiler"
Path: src/wd-xmlcompiler
......
......@@ -21,7 +21,7 @@ set_defaults () {
}
set_defaults
version="2.1.4"
version="2.1.5"
exec_suffix=""
ehelp_findlib="Enable/disable installation as findlib package"
......
......@@ -78,6 +78,8 @@ Copyright holders are Joachim Schrod NPC GmbH and Gerd Stolpmann.</p>
<sect1>
<title>Version History</title>
<ul>
<li><p><em>Version 2.1.5:</em> tweaking _oasis</p></li>
<li><p><em>Version 2.1.4:</em>Port to OCamlnet-4. (This version
also contains some developments concerning catalogs not released before.
Their status is unknown.)</p>
......
......@@ -4,8 +4,10 @@ set -e
version=`./configure -version 2>/dev/null`
destdir="wdialog-$version"
trunk="https://godirepo.camlcity.org/svn/wdialog/trunk"
tag="https://godirepo.camlcity.org/svn/wdialog/tags/$destdir"
oasis setup
make _oasis
mkdir -p packages
rm -rf "packages/$destdir"
......@@ -14,3 +16,23 @@ cp doc/INSTALL .
makepkg -spec wdialog.files -intree . -outtree "packages/$destdir"
(cd packages; tar czf "$destdir.tar.gz" "$destdir")
# Checking for svn:
status=$(svn status | grep -v '^\?' || true )
if [ -n "$status" ]; then
echo "Error: svn status not clean"
exit 1
else
printf "Tag revision (y/n)? "
read answer
case "$answer" in
y|Y|yes|YES)
svn cp "$trunk" "$tag"
echo "New tag: $tag"
;;
*)
echo "Nothing tagged."
;;
esac
fi
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