|
2 | 2 | # Copyright (C) 2003 <[email protected]> |
3 | 3 | # $Header$ |
4 | 4 | # $Log$ |
| 5 | +# Revision 1.4 2003/09/15 17:54:16 jdh2358 |
| 6 | +# multiple backed support take II |
| 7 | +# |
5 | 8 | # Revision 1.3 2003/05/12 19:56:54 jdh2358 |
6 | 9 | # update license to version 2 and the docs |
7 | 10 | # |
|
14 | 17 |
|
15 | 18 | VERSION = `python setup.py --version` |
16 | 19 | DISTFILES = INSTALL README TODO LICENSE CHANGELOG Makefile GOALS INTERACTIVE \ |
17 | | - matplotlib examples examples setup.py |
| 20 | + MANIFEST.in matplotlib examples setup.py |
18 | 21 | MODULES = artist cbook gtkutils lines patches colors text matlab figure |
19 | 22 | RELEASE = matplotlib-${VERSION} |
20 | 23 |
|
21 | 24 |
|
22 | 25 | clean: |
23 | | - python setup.py clean; |
24 | | - find . \( -name "*~" -o -name "*.pyc" \) | xargs rm -f; |
25 | | - find examples -name "*.png" | xargs rm -f; |
| 26 | + python setup.py clean;\ |
| 27 | + find . \( -name "*~" -o -name "*.pyc" \) | xargs rm -f;\ |
| 28 | + find examples -name "*.png" | xargs rm -f;\ |
26 | 29 | find matplotlib -name "*.png" | xargs rm -f; |
27 | 30 |
|
28 | 31 | htmldocs: |
29 | 32 | rm -f docs/*.html;\ |
30 | 33 | cd matplotlib;\ |
31 | | - pydoc -w ${MODULES};\ |
| 34 | + /usr/bin/pydoc -w ${MODULES};\ |
32 | 35 | mv *.html ../docs/ |
33 | 36 |
|
34 | 37 | release: ${DISTFILES} |
35 | | - rm -rf ${RELEASE}; |
36 | | - mkdir ${RELEASE}; |
37 | | - cp -a ${DISTFILES} ${RELEASE}/; |
38 | | - tar cvfz releases/${RELEASE}.tar.gz ${RELEASE}/ --dereference; |
39 | | - python setup.py bdist_wininst; |
40 | | - cp dist/${RELEASE}.win32.exe releases/; |
| 38 | + rm -rf ${RELEASE};\ |
| 39 | + mkdir ${RELEASE};\ |
| 40 | + cp -a ${DISTFILES} ${RELEASE}/;\ |
| 41 | + rm -rf ${RELEASE}/CVS ${RELEASE}/matplotlib/CVS ${RELEASE}/examples/CVS ${RELEASE}/examples/figures/* ${RELEASE}/examples/*.png ${RELEASE}/examples/*.pyc ${RELEASE}/matplotlib/*.png ${RELEASE}/matplotlib/*.pyc ;\ |
| 42 | + tar cvfz releases/${RELEASE}.tar.gz ${RELEASE}/ --dereference;\ |
| 43 | + python setup.py bdist_wininst;\ |
| 44 | + cp dist/${RELEASE}.win32.exe releases/;\ |
| 45 | + zip -r ${RELEASE}.zip ${RELEASE};\ |
| 46 | + mv ${RELEASE}.zip releases/;\ |
41 | 47 | rm -rf ${RELEASE}; |
42 | 48 |
|
0 commit comments