1.1 --- a/Makefile.in Mon Feb 15 10:21:17 2010 +0100
1.2 +++ b/Makefile.in Wed Feb 17 17:42:19 2010 +0000
1.3 @@ -1,3 +1,5 @@
1.4 +LIBSTDCXX_VERSION = @LIBSTDCXX_VERSION@
1.5 +
1.6 EPS_IMAGES18 =
1.7
1.8 EPS_IMAGES = \
1.9 @@ -36,7 +38,7 @@
1.10 -rm -rf $(DEMOS)
1.11
1.12 update-external-tags:
1.13 - wget -O libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.3/libstdc++.tag && \
1.14 + wget -O libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-$(LIBSTDCXX_VERSION)/libstdc++.tag && \
1.15 mv libstdc++.tag.tmp libstdc++.tag || \
1.16 rm libstdc++.tag.tmp
1.17 wget -O lemon.tag.tmp @make_lemon_doc_prefix@/lemon.tag && \
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/config.sh Wed Feb 17 17:42:19 2010 +0000
2.3 @@ -0,0 +1,2 @@
2.4 +LEMON_VERSION='1.1.1'
2.5 +LIBSTDCXX_VERSION='4.3'
3.1 --- a/configure Mon Feb 15 10:21:17 2010 +0100
3.2 +++ b/configure Wed Feb 17 17:42:19 2010 +0000
3.3 @@ -1,5 +1,7 @@
3.4 #!/bin/bash
3.5
3.6 +source config.sh
3.7 +
3.8 quiet=0
3.9 function quiet { [[ $quiet == 1 ]]; }
3.10
3.11 @@ -32,7 +34,7 @@
3.12 Options:
3.13 -h, --help display this help and exit
3.14 --lemon-doc-prefix=loc The location of the lemon doc. By default it is
3.15 - http://lemon.cs.elte.hu/pub/doc/1.1.1
3.16 + http://lemon.cs.elte.hu/pub/doc/$LEMON_VERSION
3.17
3.18 Expamle:
3.19 $0 --lemon-doc-prefix=file://usr/local/share/doc/lemon/docs/
3.20 @@ -54,7 +56,7 @@
3.21
3.22 if test -z "$lemon_doc_prefix"
3.23 then
3.24 - lemon_doc_prefix='http://lemon.cs.elte.hu/pub/doc/1.1.1'
3.25 + lemon_doc_prefix="http://lemon.cs.elte.hu/pub/doc/$LEMON_VERSION"
3.26 fi
3.27 lemon_doc_prefix=$(echo $lemon_doc_prefix|sed 's/\//\\\\\\\//g')
3.28
3.29 @@ -64,5 +66,6 @@
3.30
3.31 sed -e "s/@lemon_cflags@/${lemon_cflags}/g" \
3.32 -e "s/@lemon_libs@/${lemon_libs}/g" \
3.33 - -e "s/@make_lemon_doc_prefix@/${lemon_doc_prefix}/g" \
3.34 + -e "s/@make_lemon_doc_prefix@/${lemon_doc_prefix}/g" \
3.35 + -e "s/@LIBSTDCXX_VERSION@/${LIBSTDCXX_VERSION}/g" \
3.36 < Makefile.in > Makefile