Menu

[r3924]: / branches / transforms / Makefile  Maximize  Restore  History

Download this file

36 lines (21 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
29
# Makefile for matplotlib
PYTHON = /usr/bin/python2.5
VERSION = `${PYTHON} setup.py --version`
DISTFILES = API_CHANGES KNOWN_BUGS INSTALL README TODO license \
CHANGELOG Makefile 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 *.jpg
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 "*.eps" -o -name "*.tar" -o -name "*.gz" -o -name "*.log" -o -name "*.aux" -o -name "*.tex" \) | xargs rm -f
find unit \( -name "*.png" -o -name "*.ps" -o -name "*.eps" \) | xargs rm -f
find . \( -name "#*" -o -name ".#*" -o -name ".*~" -o -name "*~" \) | xargs rm -f
release: ${DISTFILES}
rm -f MANIFEST;\
${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
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.