-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup-source-unix
executable file
·43 lines (31 loc) · 1.02 KB
/
setup-source-unix
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
#! /bin/bash
####################################################################################################
#
# Setup source for UNIX
#
# Must be run after a fresh git clone to generate some files
#
# Must be executed from source directory
#
####################################################################################################
rule='--------------------------------------------------------------------------------'
####################################################################################################
echo
echo $rule
echo Generate book-browser.rcc and BookBrowserRessource.py
echo
pushd share # move to
make # same as
# rcc-qt5 -binary book-browser.qrc -o book-browser.rcc
# pyrcc5 -o BookBrowserRessource.py book-browser.qrc
popd # go back
echo
ls -l share/*{.rcc,ce.py}
####################################################################################################
echo
echo $rule
echo Generate .qm translations files
echo
./tools/translate --release
echo
ls -l share/translations/*.qm