diff --git a/Changelog.draft.rst b/Changelog.draft.rst index 8b599f9..bb960e4 100644 --- a/Changelog.draft.rst +++ b/Changelog.draft.rst @@ -16,6 +16,8 @@ New Features Changes ------- +* Makefile use magic to find the version number. + Bug Fixes --------- diff --git a/Makefile b/Makefile index 7d45f38..597c49b 100644 --- a/Makefile +++ b/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`