forked from wxMaxima-developers/wxmaxima
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
68 lines (63 loc) · 3.01 KB
/
Makefile.am
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
SUBDIRS = src locales data
EXTRA_DIST = bootstrap wxmaxima.spec.in wxmaxima.desktop \
art/readme.txt art/license.txt \
art/toolbar/configure.png art/toolbar/cut.png \
art/toolbar/input.png art/toolbar/print.png \
art/toolbar/stop.png art/toolbar/copy.png \
art/toolbar/help.png art/toolbar/open.png \
art/toolbar/save.png art/toolbar/text.png \
art/toolbar/playback-start.png \
art/toolbar/playback-stop.png \
art/toolbar/paste.png \
art/toolbar/find.png \
art/toolbar/new.png \
art/config/options.png \
art/config/maxima.png \
art/config/styles.png \
art/wxmac-doc-wxm.icns art/wxmac-doc-wxmx.icns \
art/wxmac-doc.icns art/wxmac.icns \
art/maximaicon.ico
docdir = ${datadir}/wxMaxima
doc_DATA = README COPYING art/config/options.png art/config/maxima.png \
art/config/styles.png
LANGS = fr es it de pt_BR ru hu uk pl zh_TW da cs el ja ca gl zh_CN
wxMaxima.app: all
mkdir -p wxMaxima.app/Contents/MacOS
mkdir -p wxMaxima.app/Contents/Resources
cp data/wxmathml.lisp wxMaxima.app/Contents/Resources
cp data/wxmaxima.png wxMaxima.app/Contents/Resources
cp data/autocomplete.txt wxMaxima.app/Contents/Resources
cp data/tips*.txt wxMaxima.app/Contents/Resources
cp art/wxmac.icns wxMaxima.app/Contents/Resources
cp art/wxmac-doc.icns wxMaxima.app/Contents/Resources
cp art/wxmac-doc-wxm.icns wxMaxima.app/Contents/Resources
cp art/wxmac-doc-wxmx.icns wxMaxima.app/Contents/Resources
cp data/Info.plist wxMaxima.app/Contents
cp data/PkgInfo wxMaxima.app/Contents
cp src/wxmaxima wxMaxima.app/Contents/MacOS
for i in $(LANGS) ; do \
mkdir -p wxMaxima.app/Contents/Resources/locale/$$i/LC_MESSAGES ; \
cp locales/$$i.mo wxMaxima.app/Contents/Resources/locale/$$i/LC_MESSAGES/wxMaxima.mo ; \
cp locales/wxwin/$$i.mo wxMaxima.app/Contents/Resources/locale/$$i/LC_MESSAGES/wxMaxima-wxstd.mo ; \
done
mkdir -p wxMaxima.app/Contents/Resources/toolbar
mkdir -p wxMaxima.app/Contents/Resources/config
cp art/toolbar/*.png wxMaxima.app/Contents/Resources/toolbar
cp art/config/*.png wxMaxima.app/Contents/Resources/config
wxMaxima.win: all
mkdir -p wxMaxima/art
mkdir -p wxMaxima/data
cp data/wxmathml.lisp wxMaxima/data
cp data/wxmaxima.png wxMaxima/data
cp data/autocomplete.txt wxMaxima/data
cp data/tips*.txt wxMaxima/data
mkdir -p wxMaxima/art/toolbar
cp art/toolbar/*.png wxMaxima/art/toolbar
mkdir -p wxMaxima/art/config
cp art/config/*.png wxMaxima/art/config
for i in $(LANGS) ; do \
mkdir -p wxMaxima/locale/$$i/LC_MESSAGES ; \
cp locales/$$i.mo wxMaxima/locale/$$i/LC_MESSAGES/wxMaxima.mo ; \
cp locales/wxwin/$$i.mo wxMaxima/locale/$$i/LC_MESSAGES/wxMaxima-wxstd.mo ; \
done
cp src/wxmaxima.exe wxMaxima/