diff options
author | Eugeni Dodonov <eugeni@mandriva.com> | 2009-09-29 13:51:35 -0300 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.com> | 2009-09-29 13:51:35 -0300 |
commit | 9795b7728134d4d939c0f364f37ac1a378de434c (patch) | |
tree | 210a26f310937032ade8db2823506b87a0927dd8 /Makefile | |
parent | 4a0fe20560e5a414af7329354efcd5b76007a240 (diff) | |
download | net_monitor-9795b7728134d4d939c0f364f37ac1a378de434c.tar net_monitor-9795b7728134d4d939c0f364f37ac1a378de434c.tar.gz net_monitor-9795b7728134d4d939c0f364f37ac1a378de434c.tar.bz2 net_monitor-9795b7728134d4d939c0f364f37ac1a378de434c.tar.xz net_monitor-9795b7728134d4d939c0f364f37ac1a378de434c.zip |
updated Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,17 +2,19 @@ PACKAGE = net_monitor VERSION = 0.01 GITPATH = ssh://git.mandriva.com/git/projects/net_monitor.git -all: version +all: version python version: echo "version='$(VERSION)'" > version.py +python: + python setup.py build + clean: -find . -name '*.o' -o -name '*.py[oc]' -o -name '*~' | xargs rm -f install: all - mkdir -p $(RPM_BUILD_ROOT)/usr/bin/ - install -m755 net_monitor.py $(RPM_BUILD_ROOT)/usr/bin/net_monitor + python setup.py install --root=$(RPM_BUILD_ROOT) cleandist: rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.bz2 |