From a6b91aaeca1fca121b12293df6d52eb6cebc4306 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sat, 12 Sep 2015 20:53:58 +0200 Subject: Adaptation for the build in Python 3 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f3e8436..6479735 100644 --- a/Makefile +++ b/Makefile @@ -8,13 +8,13 @@ version: echo "version='$(VERSION)'" > version.py python: - python setup.py build + python3 setup.py build clean: -find . -name '*.o' -o -name '*.py[oc]' -o -name '*~' | xargs rm -f install: all - python setup.py install --root=$(RPM_BUILD_ROOT)/ + python3 setup.py install --root=$(RPM_BUILD_ROOT)/ make -C po DESTDIR=$(RPM_BUILD_ROOT)/usr install install -d $(RPM_BUILD_ROOT)/etc/sysconfig/network-scripts/ifup.d install -d $(RPM_BUILD_ROOT)/etc/sysconfig/network-scripts/ifdown.d -- cgit v1.2.1