@@ -31,6 +31,7 @@ pypi_register: clean pypi_readme
31
31
# generate mac binary bundle
32
32
mac : clean
33
33
python setup-mac.py py2app --iconfile circuitscape.icns
34
+ rm -fr output/Circuitscape-$(VER ) .dmg
34
35
hdiutil create -srcfolder ./dist/Circuitscape.app output/Circuitscape-$(VER ) .dmg
35
36
36
37
# generate a source bundle
@@ -43,17 +44,21 @@ src: clean
43
44
#
44
45
# Intermediate html format is required to get the correct size of embedded images.
45
46
# Intermediate tex format is required only to handle unicode symbols in the md file.
47
+ # commented commands below:
48
+ # cd docs/4.0; \
49
+ # no-tex-ligatures needed for quotation marks in next line \
50
+ # pandoc -f markdown --no-tex-ligatures -o circuitscape_4_0_user_guide.html circuitscape_4_0.md; \
51
+ # removing pdf conversion and sticking with html for now \
52
+ # pandoc -o t1.tex circuitscape_4_0.html; \
53
+ # cat t1.tex | python -c "import sys; map(lambda x: sys.stdout.write(x.replace('√2', '$$\sqrt2$$')), sys.stdin);" > t2.tex; \
54
+ # pandoc --smart -o circuitscape_4_0.pdf t2.tex; \
55
+ # rm -f t1.tex t2.tex circuitscape_4_0.html; \
56
+ # cd ../..
46
57
47
58
doc :
48
59
cd docs/4.0; \
49
- # no-tex-ligatures needed for quotation marks in next line
50
- pandoc -f markdown --no-tex-ligatures -o circuitscape_4_0_user_guide.html circuitscape_4_0.md; \
51
- # removing pdf conversion and sticking with html for now
52
- # pandoc -o t1.tex circuitscape_4_0.html; \
53
- # cat t1.tex | python -c "import sys; map(lambda x: sys.stdout.write(x.replace('√2', '$$\sqrt2$$')), sys.stdin);" > t2.tex; \
54
- # pandoc --smart -o circuitscape_4_0.pdf t2.tex; \
55
- # rm -f t1.tex t2.tex circuitscape_4_0.html; \
56
- cd ../..
60
+ pandoc -f markdown --no-tex-ligatures -o circuitscape_4_0_user_guide.html circuitscape_4_0.md; \
61
+ cd ../..
57
62
58
63
clean :
59
64
rm -fr circuitscape/verify/output/* .ini
@@ -69,3 +74,4 @@ cleanall: clean
69
74
mkdir -p output
70
75
71
76
all : mac src
77
+
0 commit comments