From: mcgrof@suse.com (Luis R. Rodriguez) Date: Wed, 5 Aug 2015 23:08:33 +0200 Subject: [Cocci] [PATCH v3 1/2] autotools: simplify the way to determine version information In-Reply-To: <55BB1948.50804@users.sourceforge.net> References: <1438034612-10595-1-git-send-email-mcgrof@do-not-panic.com> <1438034612-10595-2-git-send-email-mcgrof@do-not-panic.com> <55BB1948.50804@users.sourceforge.net> Message-ID: <20150805210833.GF30479@wotan.suse.de> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr On Fri, Jul 31, 2015 at 08:44:24AM +0200, SF Markus Elfring wrote: > > -AC_INIT([coccinelle], m4_esyscmd([cat ./version | tr -d '\n']), [cocci at systeme.lip6.fr], [], [http://coccinelle.lip6.fr/]) > > +AC_INIT([coccinelle], m4_esyscmd([./version.sh]), [cocci at systeme.lip6.fr], [], [http://coccinelle.lip6.fr/]) > > I find such a fine-tuning of a build script interesting. > > Can it be that this update will only get active if the script "configure" > can be regenerated by a command like "autoreconf --install"? > http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/autoreconf-Invocation.html I tested it and it worked so that was not needed. Luis