Menu

[r615]: / trunk / matplotlib / Makefile  Maximize  Restore  History

Download this file

35 lines (20 with data), 1.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Makefile for matplotlib
PYTHON = /usr/local/bin/python2.3
VERSION = `${PYTHON} setup.py --version`
DISTFILES = API_CHANGES KNOWN_BUGS INSTALL README TODO license \
CHANGELOG Makefile GOALS INTERACTIVE \
MANIFEST.in lib lib/matplotlib lib/dateutil lib/pytz examples setup.py
RELEASE = matplotlib-${VERSION}
clean:
${PYTHON} setup.py clean;\
rm -f *.png *.ps *.eps *.svg
find . -name "_tmp*.py" | xargs rm -f;\
find . \( -name "*~" -o -name "*.pyc" \) | xargs rm -f;\
find examples \( -name "*.svg" -o -name "*.png" -o -name "*.ps" -o -name "*.jpg" -o -name "*.eps" -o -name "*.tar" -name "*.gz" \) | xargs rm -f
find unit \( -name "*.png" -o -name "*.ps" -o -name "*.jpg" -o -name "*.eps" \) | xargs rm -f
find . \( -name "#*" -o -name ".#*" -o -name ".*~" -o -name "*~" \) | xargs rm -f
release: ${DISTFILES}
${PYTHON} license.py ${VERSION} license/LICENSE;\
${PYTHON} setup.py sdist --formats=gztar,zip;
pyback:
tar cvfz pyback.tar.gz *.py lib src examples/*.py unit/*.py