From 506b08359b4997e80aa05c359018c1024b1ee5c1 Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Wed, 14 Nov 2018 13:01:51 +0200 Subject: [PATCH] Autotools build fix; --- ChangeLog | 3 --- VERSION | 1 + configure.ac | 2 +- lib/Makefile.am | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 VERSION diff --git a/ChangeLog b/ChangeLog index 93ca727..1a0e9af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,3 @@ * Initial import of 0.2 version -Copyright 2013-2014 Askele, Inc. -Copying and distribution of this file, with or without modification, are -permitted provided the copyright notice and this notice are preserved. diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..7179039 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.2.3 diff --git a/configure.ac b/configure.ac index 3d26952..e838891 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(libtdata, 0.2.2) +AC_INIT(libtdata, m4_esyscmd([tr -d '\n' < VERSION])) AC_CONFIG_HEADERS([config.h]) diff --git a/lib/Makefile.am b/lib/Makefile.am index 1e8f02b..8435b52 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -4,7 +4,7 @@ AM_CPPFLAGS = \ -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \ -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \ -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \ - $(LIBTDATA_CFLAGS) -I../include + $(LIBTDATA_CFLAGS) -I$(srcdir)/include AM_CFLAGS =\ -Wall\