diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2015-09-12 20:53:58 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2015-09-12 20:53:58 +0200 |
commit | a6b91aaeca1fca121b12293df6d52eb6cebc4306 (patch) | |
tree | 13342bb1932af47166083d48ea77d2838b7c92d1 /Makefile | |
parent | 7dc6f893276fd4f3452b9524459bf7f58c564936 (diff) | |
download | net_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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |