summaryrefslogtreecommitdiff
path: root/libkmod
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2014-03-24 08:27:19 -0300
committerLucas De Marchi <lucas.demarchi@intel.com>2014-03-26 22:30:56 -0300
commit3a33a7a566c221e13c426c0d2f3519ebe8f70a34 (patch)
tree95c461f52f94f6a694847d20494e3f41b5d2f5bd /libkmod
parent5ad36e522226732d3815ace77b2ec19198bd24fc (diff)
downloadkmod-3a33a7a566c221e13c426c0d2f3519ebe8f70a34.tar.gz
kmod-3a33a7a566c221e13c426c0d2f3519ebe8f70a34.tar.bz2
kmod-3a33a7a566c221e13c426c0d2f3519ebe8f70a34.zip
build-sys: add hooks to build python bindings
Add --enable-python configure switch so we build the python bindings. We also pass version.py through SED_PROCESS macro, so the version is kept in sync with kmod. Acked-by: Andy Grover <agrover@redhat.com>
Diffstat (limited to 'libkmod')
-rw-r--r--libkmod/python/.gitignore1
-rw-r--r--libkmod/python/kmod/version.py.in (renamed from libkmod/python/kmod/version.py)2
2 files changed, 2 insertions, 1 deletions
diff --git a/libkmod/python/.gitignore b/libkmod/python/.gitignore
index 46ec2ea..69af451 100644
--- a/libkmod/python/.gitignore
+++ b/libkmod/python/.gitignore
@@ -3,3 +3,4 @@ dist
*.c
*.pyc
*.so
+kmod/version.py
diff --git a/libkmod/python/kmod/version.py b/libkmod/python/kmod/version.py.in
index 1ef04eb..4daa94d 100644
--- a/libkmod/python/kmod/version.py
+++ b/libkmod/python/kmod/version.py.in
@@ -14,4 +14,4 @@
# You should have received a copy of the GNU Lesser General Public License
# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
-__version__ = '0.9.1'
+__version__ = '@VERSION@'