diff options
author | Jacek Konieczny <jajcus@jajcus.net> | 2004-01-18 18:24:44 +0300 |
---|---|---|
committer | Jacek Konieczny <jajcus@jajcus.net> | 2004-01-18 18:24:44 +0300 |
commit | b0efbf6ecb447b66aa33baf6dfb3ee4143be472e (patch) | |
tree | 3926baf66630a64b2c848cf3e4cf591cbea4b079 /Makefile | |
parent | b992b03ed4bae3bcc438024212b1d09de0fdd0b4 (diff) |
- all unneeded and non-portable magic removed
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -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: |