Makefile: get version number dynamically
Avoid static version number in the Makefile. It's a possible source of errors, especially for me. Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
374dea8063
commit
b768d2d28b
@ -16,6 +16,8 @@ New Features
|
||||
Changes
|
||||
-------
|
||||
|
||||
* Makefile use magic to find the version number.
|
||||
|
||||
Bug Fixes
|
||||
---------
|
||||
|
||||
|
2
Makefile
2
Makefile
@ -15,7 +15,7 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
VERSION=6.3.2
|
||||
VERSION=`./offlineimap.py --version`
|
||||
TARGZ=offlineimap_$(VERSION).tar.gz
|
||||
SHELL=/bin/bash
|
||||
RST2HTML=`type rst2html 2>/dev/null 2>&1 && echo rst2html || echo rst2html.py`
|
||||
|
Loading…
Reference in New Issue
Block a user