Commit 53748eb9 authored by gerd's avatar gerd

Release 1.1.95.1


git-svn-id: https://godirepo.camlcity.org/svn/lib-pxp/trunk@716 dbe99aee-44db-0310-b2b3-d33182c8eb97
parent d6368b19
......@@ -72,18 +72,3 @@ distclean:
RELEASE:
./configure -version >RELEASE
.PHONY: dist
dist: RELEASE
./release
.PHONY: tag-release
tag-release: RELEASE
@echo Checking whether everything is checked in...
! cvs -n update 2>&1 | grep '^[MACPU] '
r=`head -1 RELEASE | sed -e s/\\\./-/g`; cd ..; cvs tag -F $(NAME)-$$r pxp
.PHONY: release
release:
$(MAKE) tag-release
$(MAKE) dist
......@@ -9,7 +9,7 @@ with_wlex_compat=1
with_ulex=1
with_pp=1
lexlist="utf8,iso88591,iso88592,iso88593,iso88594,iso88595,iso88596,iso88597,iso88598,iso88599,iso885910,iso885913,iso885914,iso885915,iso885916"
version="1.1.95"
version="1.1.95.1"
exec_suffix=""
help_lex="Enable/disable ocamllex-based lexical analyzer for the -lexlist encodings"
......
......@@ -4,6 +4,8 @@ set -e
version=`./configure -version 2>/dev/null`
destdir="pxp-$version"
trunk="https://gps.dynxs.de/svn/lib-pxp/trunk"
tag="https://gps.dynxs.de/svn/lib-pxp/tags/$destdir"
#echo "Ensure the gensrc-pre lexers are up to date!"
......@@ -13,3 +15,23 @@ makepkg -spec pxp.files -intree . -outtree "packages/$destdir"
touch "packages/$destdir/gensrc/pxp-wlex-utf8/gen_done"
(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
......@@ -5,7 +5,7 @@ include $(TOP_DIR)/Makefile.rules
PACKAGES = netstring,ulex,camlp4.quotations,camlp4.macro
OCAMLC_OPTIONS += -syntax camlp4o
OCAMLC_OPTIONS += $(CAMLP4_LOC)
OCAMLC_OPTIONS += $(CAMLP4_LOC) -ppopt -loc -ppopt loc
all: pxp_pp.cma
......
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