aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-09-12 20:53:58 +0200
committerPapoteur <papoteur@mageialinux-online.org>2015-09-12 20:53:58 +0200
commita6b91aaeca1fca121b12293df6d52eb6cebc4306 (patch)
tree13342bb1932af47166083d48ea77d2838b7c92d1 /Makefile
parent7dc6f893276fd4f3452b9524459bf7f58c564936 (diff)
downloadnet_monitor-a6b91aaeca1fca121b12293df6d52eb6cebc4306.tar
net_monitor-a6b91aaeca1fca121b12293df6d52eb6cebc4306.tar.gz
net_monitor-a6b91aaeca1fca121b12293df6d52eb6cebc4306.tar.bz2
net_monitor-a6b91aaeca1fca121b12293df6d52eb6cebc4306.tar.xz
net_monitor-a6b91aaeca1fca121b12293df6d52eb6cebc4306.zip
Adaptation for the build in Python 3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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