Rev 801 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 801 | Rev 813 | ||
---|---|---|---|
1 | #!/bin/sh |
1 | #!/bin/sh |
2 | 2 | ||
3 | QMAKE="qmake-mac" |
3 | QMAKE="qmake-mac" |
4 | MAKEOPT="" |
4 | MAKEOPT="" |
5 | 5 | ||
6 | case "$1" in |
6 | case "$1" in |
7 | "beta") |
7 | "beta") |
8 | CONFIG="" |
8 | CONFIG="" |
9 | ;; |
9 | ;; |
10 | *) |
10 | *) |
11 | CONFIG="CONFIG-=debug" |
11 | CONFIG="CONFIG-=debug" |
12 | ;; |
12 | ;; |
13 | esac |
13 | esac |
14 | 14 | ||
15 | # QMK-Communicator erstellen |
15 | # QMK-Communicator erstellen |
16 | ###################### |
16 | ###################### |
17 | cd ./QMK-Communicator |
17 | cd ./QMK-Communicator |
18 | ${QMAKE} QMK-Communicator.pro ${CONFIG} |
18 | ${QMAKE} QMK-Communicator.pro ${CONFIG} |
- | 19 | make clean |
|
19 | make ${MAKEOPT} |
20 | make ${MAKEOPT} |
20 | cd .. |
21 | cd .. |
- | 22 | ||
21 | cd ./QMK-Settings |
23 | cd ./QMK-Settings |
22 | ${QMAKE} QMK-Settings.pro ${CONFIG} |
24 | ${QMAKE} QMK-Settings.pro ${CONFIG} |
- | 25 | make clean |
|
23 | make ${MAKEOPT} |
26 | make ${MAKEOPT} |
24 | cd .. |
27 | cd .. |
- | 28 | cd Binary |
|
- | 29 | macdeployqt QMK-Settings.app |
|
- | 30 | cp QMK-Settings.app/Contents/MacOS/* QMK-Communicator.app/Contents/MacOS/. |
|
- | 31 | cd .. |
|
- | 32 | ||
25 | cd ./QMK-Maps |
33 | cd ./QMK-Maps |
26 | ${QMAKE} QMK-Maps.pro ${CONFIG} |
34 | ${QMAKE} QMK-Maps.pro ${CONFIG} |
- | 35 | make clean |
|
27 | make ${MAKEOPT} |
36 | make ${MAKEOPT} |
28 | cd .. |
37 | cd .. |
29 | cd ./QMK-Scope |
38 | cd Binary |
30 | ${QMAKE} QMK-Scope.pro CONFIG+=OSX ${CONFIG} |
- | |
31 | make ${MAKEOPT} |
39 | macdeployqt QMK-Maps.app |
- | 40 | cp QMK-Maps.app/Contents/MacOS/* QMK-Communicator.app/Contents/MacOS/. |
|
32 | cd .. |
41 | cd .. |
- | 42 | ||
- | 43 | #cd ./QMK-Scope |
|
- | 44 | #${QMAKE} QMK-Scope.pro CONFIG+=OSX CONFIG-=debug |
|
- | 45 | #make clean |
|
- | 46 | #make ${MAKEOPT} |
|
- | 47 | #cd .. |
|
- | 48 | #cd Binary |
|
- | 49 | #macdeployqt QMK-Scope.app |
|
- | 50 | #cp QMK-Scope.app/Contents/MacOS/* QMK-Communicator.app/Contents/MacOS/. |
|
- | 51 | #cd .. |
|
- | 52 | ||
33 | #cd ./QMK-Voice |
53 | #cd ./QMK-Voice |
34 | #${QMAKE} QMK-Voice.pro ${CONFIG} |
54 | #${QMAKE} QMK-Voice.pro ${CONFIG} |
- | 55 | #make clean |
|
35 | #make ${MAKEOPT} |
56 | #make ${MAKEOPT} |
36 | #cd .. |
57 | #cd .. |
- | 58 | ||
37 | #cd ./QMK-Logger |
59 | #cd ./QMK-Logger |
38 | #${QMAKE} QMK-Logger.pro ${CONFIG} |
60 | #${QMAKE} QMK-Logger.pro ${CONFIG} |
- | 61 | #make clean |
|
39 | #make ${MAKEOPT} |
62 | #make ${MAKEOPT} |
40 | #cd .. |
63 | #cd .. |
- | 64 | ||
41 | #cd ./QMK-Control |
65 | #cd ./QMK-Control |
42 | #${QMAKE} QMK-Control.pro CONFIG+=OSX ${CONFIG} |
66 | #${QMAKE} QMK-Control.pro CONFIG+=OSX ${CONFIG} |
- | 67 | #make clean |
|
43 | #make ${MAKEOPT} |
68 | #make ${MAKEOPT} |
44 | #cd .. |
69 | #cd .. |
- | 70 | ||
- | 71 | cd Binary |
|
- | 72 | macdeployqt QMK-Communicator.app -dmg |
|
45 | 73 |