[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6550] Use version from .pm file.
From: |
Patrice Dumas |
Subject: |
[6550] Use version from .pm file. |
Date: |
Tue, 18 Aug 2015 22:06:36 +0000 |
Revision: 6550
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6550
Author: pertusus
Date: 2015-08-18 22:06:35 +0000 (Tue, 18 Aug 2015)
Log Message:
-----------
Use version from .pm file. Other fixes.
Modified Paths:
--------------
trunk/tp/Texinfo/Convert/XSParagraph/prepare_standalone_perl_module.sh
Modified: trunk/tp/Texinfo/Convert/XSParagraph/prepare_standalone_perl_module.sh
===================================================================
--- trunk/tp/Texinfo/Convert/XSParagraph/prepare_standalone_perl_module.sh
2015-08-18 22:05:03 UTC (rev 6549)
+++ trunk/tp/Texinfo/Convert/XSParagraph/prepare_standalone_perl_module.sh
2015-08-18 22:06:35 UTC (rev 6550)
@@ -1,10 +1,14 @@
#! /bin/sh
-export TEXINFO_XS=module
# Make sure that we start with the automake generated Makefile
./config.status
+# remove .la file
+make clean
-VERSION=`grep '^VERSION = ' Makefile | sed 's/^VERSION = *//'`
+# The version of the module is set using the main configure.ac version
+#VERSION=`grep '^VERSION = ' Makefile | sed 's/^VERSION = *//'`
+#[ z"$VERSION" = 'z' ] && exit 1
+VERSION=`grep ' $VERSION = '"'" XSParagraph.pm | sed 's/^.* $VERSION =
'"'\([^']\+\)'"'; *$/\1/'`
[ z"$VERSION" = 'z' ] && exit 1
perl Makefile.PL NO_MYMETA=1
rm -f Texinfo-Convert-XSParagraph-XSParagraph-$VERSION.tar.gz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6550] Use version from .pm file.,
Patrice Dumas <=