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>2004-01-18 18:24:44 +0300
committerJacek Konieczny <jajcus@jajcus.net>2004-01-18 18:24:44 +0300
commitb0efbf6ecb447b66aa33baf6dfb3ee4143be472e (patch)
tree3926baf66630a64b2c848cf3e4cf591cbea4b079 /Makefile
parentb992b03ed4bae3bcc438024212b1d09de0fdd0b4 (diff)
- all unneeded and non-portable magic removed
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 3b6832a..0b7ecaa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,4 @@
-BASE_VERSION=0.2
-RELEASE=
+VERSION=0.2
DESTDIR="/"
@@ -7,22 +6,18 @@ DESTDIR="/"
all: version
umask 022 ; python setup.py build
- cd examples ; rm -f pyxmpp 2>/dev/null ; ln -s ../build/lib*/pyxmpp .
- cd examples ; chmod a+x *.py
- cd tests ; rm -f pyxmpp 2>/dev/null ; ln -sf ../build/lib*/pyxmpp .
- cd tests ; chmod a+x *.py
+ -cd examples ; rm -f pyxmpp 2>/dev/null ; ln -s ../build/lib*/pyxmpp .
+ -cd examples ; chmod a+x *.py
+ -cd tests ; rm -f pyxmpp 2>/dev/null ; ln -s ../build/lib*/pyxmpp .
+ -cd tests ; chmod a+x *.py
version:
if test -f "CVS/Entries" ; then \
- if [ "x$(RELEASE)" != "x" ]; then \
- SNAPSHOT="" ; \
- else \
- SNAPSHOT=.`find . -name "*.py" '!' -name "version.py" -printf '%TY%Tm%Td_%TH%TM\n' | sort -r | head -1 2>/dev/null || echo unknown` ; \
- fi ; \
- echo "version='$(BASE_VERSION)$$SNAPSHOT'" > pyxmpp/version.py ; \
+ echo "version='$(VERSION)cvs'" > pyxmpp/version.py ; \
fi
dist: all
+ echo "version='$(VERSION)'" > pyxmpp/version.py
python setup.py sdist
clean: