Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Jajcus/pyxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Konieczny <jajcus@jajcus.net>2003-08-14 13:41:19 +0400
committerJacek Konieczny <jajcus@jajcus.net>2003-08-14 13:41:19 +0400
commitae1d80e374f859324049bdfa40ca4ec2d08de5e6 (patch)
treeffdb7b31b656735452825fbf1292ca779f1330d0 /Makefile
parent1b6211530a392cfd59e346e87e50cccfe9e96b89 (diff)
- make install
- umask set before build and install - bad things happen without this
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9023836..7632ff9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,12 @@
BASE_VERSION=0.1
SNAPSHOT=
+DESTDIR="/"
+
.PHONY: all version snapshot dist
all: version
- python setup.py build
+ umask 022 ; python setup.py build
cd examples && ln -sf ../build/lib*/pyxmpp .
cd examples && chmod a+x *.py
cd tests && ln -sf ../build/lib*/pyxmpp .
@@ -22,3 +24,6 @@ snapshot: version dist
dist:
python setup.py sdist
+
+install:
+ umask 022 ; python setup.py install --root $(DESTDIR)