From e9e66bbc9a423dc5819b892a003595de55920d85 Mon Sep 17 00:00:00 2001 From: Jean-Vincent Ficet Date: Tue, 7 Mar 2017 16:14:36 +0100 Subject: [PATCH] Makefile.am: Fix broken build on Fedora Fix the following build error: make top_distdir="bxrrdtool-1.6.1" distdir="bxrrdtool-1.6.1" dist-hook make[2]: Entering directory '/home/vficet/src/rrdtool-1.x' cd bxrrdtool-1.6.1 && /usr/bin/perl -i -p -e 's/^\1ERSION.+/\1ERSION='1.6002';/' bindings/perl-*/*.pm Reference to nonexistent group in regex; marked by <-- HERE in m/^\1 <-- HERE ERSION.+/ at -e line 1. Makefile:933: recipe for target 'dist-hook' failed --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 1f46a9b3..5bb6325f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -69,7 +69,7 @@ clean-local: 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/^\$$VERSION.+/\$$VERSION='$(NUMVERS)';/' 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)$(PERL) -i -p -e 's/rrdtool-[\.\d]+\d(-[a-z0-9]+)?/rrdtool-'$(PACKAGE_VERSION)'/g' doc/rrdbuild.pod -- 2.47.2