1 | # CURRENT RELEASE: |
---|
2 | #--------------------------------------------------- |
---|
3 | NPATCH_0_2a1 = 2 |
---|
4 | #--------------------------------------------------- |
---|
5 | |
---|
6 | all: patch release zip exe clean |
---|
7 | tgz: patch release clean |
---|
8 | src: patch release zip clean |
---|
9 | win: patch zip exe clean |
---|
10 | exe: installer distclean |
---|
11 | |
---|
12 | patch: |
---|
13 | patch -p0 -i mystic-0.2a1-patch${NPATCH_0_2a1}.diff |
---|
14 | |
---|
15 | zip: |
---|
16 | zip -r mystic-0.2a1-p${NPATCH_0_2a1}.zip mystic-0.2a1 |
---|
17 | |
---|
18 | release: |
---|
19 | tar -cvzf mystic-0.2a1-p${NPATCH_0_2a1}.tgz mystic-0.2a1 |
---|
20 | |
---|
21 | installer: |
---|
22 | cd mystic-0.2a1; python setup.py bdist --format=wininst; cd .. |
---|
23 | cd mystic-0.2a1; cd dist; mv -f mystic-0.2a1*exe ..; cd ..; cd .. |
---|
24 | cd mystic-0.2a1; mv -f mystic-0.2a1*exe ..; cd .. |
---|
25 | mv -f mystic-0.2a1*exe mystic-0.2a1-p${NPATCH_0_2a1}.win32.exe |
---|
26 | |
---|
27 | distclean: |
---|
28 | cd mystic-0.2a1; rm -rf build dist mystic.egg-info; cd .. |
---|
29 | |
---|
30 | clean: |
---|
31 | cd mystic-0.2a1; cd examples; rm -f test_mogi*; cd ..; cd .. |
---|
32 | cd mystic-0.2a1; cd mystic; rm -f tools*; cd ..; cd .. |
---|
33 | cd mystic-0.2a1; cd mystic; rm -f differential_evolution*; cd ..; cd .. |
---|
34 | svn up |
---|
35 | |
---|
36 | |
---|
37 | # PRIOR RELEASES: |
---|
38 | #--------------------------------------------------- |
---|
39 | NPATCH_0_1a2 = 0 |
---|
40 | #--------------------------------------------------- |
---|
41 | |
---|
42 | release_0_1a2: |
---|
43 | tar -cvzf mystic-0.1a2.tgz mystic-0.1a2 |
---|
44 | |
---|
45 | clean_0_1a2: |
---|
46 | svn up |
---|
47 | |
---|
48 | |
---|
49 | #--------------------------------------------------- |
---|
50 | NPATCH_0_1a1 = 3 |
---|
51 | #--------------------------------------------------- |
---|
52 | patch_0_1a1: |
---|
53 | patch -p0 -i mystic-0.1a1-patch${NPATCH_0_1a1}.diff |
---|
54 | |
---|
55 | release_0_1a1: |
---|
56 | tar -cvzf mystic-0.1a1-p${NPATCH_0_1a1}.tgz mystic-0.1a1 |
---|
57 | |
---|
58 | clean_0_1a1: |
---|
59 | cd mystic-0.1a1; cd examples; rm -f README example*; cd ..; cd .. |
---|
60 | cd mystic-0.1a1; cd mystic; rm -f scipy_optimize*; cd ..; cd .. |
---|
61 | cd mystic-0.1a1; rm -f setup.py; cd .. |
---|
62 | svn up |
---|
63 | |
---|