]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
make sure rrdbuild does not have to be rebuilt on the install host ... fix for #656
authorTobias Oetiker <tobi@oetiker.ch>
Mon, 10 Aug 2015 14:48:45 +0000 (16:48 +0200)
committerTobias Oetiker <tobi@oetiker.ch>
Mon, 10 Aug 2015 14:48:45 +0000 (16:48 +0200)
Makefile.am
Makefile.in
configure
doc/rrdbuild.pod

index f537bf9ef4b15e865cec3a8ca419686ea7013609..f45975ca0d59c53dfeb56e62301d2d23b6e85ae9 100644 (file)
@@ -62,10 +62,13 @@ indent:
 clean-local:
        -rm -f config.h bindings/perl-piped/Makefile.old bindings/perl-shared/Makefile.old
 
+
+
 dist-hook: VERSION
        $(AM_V_GEN)cd $(distdir) && $(PERL) -i -p -e 's/^\$VERSION.+/\$VERSION='$(NUM_VERS)';/' bindings/perl-*/*.pm
        $(AM_V_GEN)cd $(distdir) && $(PERL) -i -p -e 's/RRDtool 1.GIT, Copyright by Tobi Oetiker/RRDtool '$(PACKAGE_VERSION)', Copyright 1997-'`date +%Y`' by Tobi Oetiker/' src/*.h src/*.c
        $(AM_V_GEN)cd $(distdir) && $(PERL) -i -p -e 's/^Version:.+/Version: '$(PACKAGE_VERSION)'/' rrdtool.spec
-       $(AM_V_GEN)cd $(distdir) && $(PERL) -i -p -e 's/rrdtool-[\.\d]+\d(-[a-z0-9]+)?/rrdtool-'$(PACKAGE_VERSION)'/g' doc/rrdbuild.pod
+       $(AM_V_GEN)$(PERL) -i -p -e 's/rrdtool-[\.\d]+\d(-[a-z0-9]+)?/rrdtool-'$(PACKAGE_VERSION)'/g' doc/rrdbuild.pod
+       $(AM_V_GEN)(cd doc && $(MAKE)) && cp -p doc/rrdbuild.* $(distdir)/doc
                 
 ##END##
index ff88c541c663097dcb6cacf8026792d5dcc3bb7d..f81f6e09097f1affbd82a3389afcf71a3339a1f0 100644 (file)
@@ -987,7 +987,8 @@ dist-hook: VERSION
        $(AM_V_GEN)cd $(distdir) && $(PERL) -i -p -e 's/^\$VERSION.+/\$VERSION='$(NUM_VERS)';/' bindings/perl-*/*.pm
        $(AM_V_GEN)cd $(distdir) && $(PERL) -i -p -e 's/RRDtool 1.GIT, Copyright by Tobi Oetiker/RRDtool '$(PACKAGE_VERSION)', Copyright 1997-'`date +%Y`' by Tobi Oetiker/' src/*.h src/*.c
        $(AM_V_GEN)cd $(distdir) && $(PERL) -i -p -e 's/^Version:.+/Version: '$(PACKAGE_VERSION)'/' rrdtool.spec
-       $(AM_V_GEN)cd $(distdir) && $(PERL) -i -p -e 's/rrdtool-[\.\d]+\d(-[a-z0-9]+)?/rrdtool-'$(PACKAGE_VERSION)'/g' doc/rrdbuild.pod
+       $(AM_V_GEN)$(PERL) -i -p -e 's/rrdtool-[\.\d]+\d(-[a-z0-9]+)?/rrdtool-'$(PACKAGE_VERSION)'/g' doc/rrdbuild.pod
+       $(AM_V_GEN)(cd doc && $(MAKE)) && cp -p doc/rrdbuild.* $(distdir)/doc
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
index 63afb37282f89eec9f355be5aba086124575b732..c9fa597e8731900f3948a0fa63940128aec2f680 100755 (executable)
--- a/configure
+++ b/configure
@@ -2825,10 +2825,10 @@ ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
 
 
-NUMVERS=1.5001
+NUMVERS=1.5005
 
 
-LIBVERS=7:0:3
+LIBVERS=7:5:3
 
 
 # Make sure we can run config.sub.
index b87d0ee8f87734d0450a830250f38a147ce13f82..e4407644895a60b3c6e14761497d7cd39b6129a9 100644 (file)
@@ -41,7 +41,7 @@ Where you want to install the software.
 Once you have decided. Save the two locations into environment variables.
 
  BUILD_DIR=/tmp/rrdbuild
- INSTALL_DIR=/opt/rrdtool-1.4.3
+ INSTALL_DIR=/opt/rrdtool-1.5.4
 
 
 If your F</tmp> is mounted with the option noexec (RHEL seems todo that) you have to choose
@@ -55,9 +55,9 @@ Now make sure the BUILD_DIR exists and go there:
 Lets first assume you already have all the necessary libraries
 pre-installed. 
 
- wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.3.tar.gz
- gunzip -c rrdtool-1.4.3.tar.gz | tar xf -
- cd rrdtool-1.4.3
+ wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.5.4.tar.gz
+ gunzip -c rrdtool-1.5.4.tar.gz | tar xf -
+ cd rrdtool-1.5.4
  ./configure --prefix=$INSTALL_DIR && make && make install
 
 Ok, this was very optimistic. This try will probably have ended with
@@ -345,7 +345,7 @@ because it seems that a fair number of people have ill configured python and
 tcl setups that would prevent RRDtool from building if they are included in
 their current state.
 
- cd $BUILD_DIR/rrdtool-1.4.3
+ cd $BUILD_DIR/rrdtool-1.5.4
  ./configure --prefix=$INSTALL_DIR --disable-tcl --disable-python
  $MAKE clean
  $MAKE