File: bootstrap

package info (click to toggle)
poedit 1.8.11-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,116 kB
  • ctags: 2,239
  • sloc: cpp: 20,600; sh: 4,213; makefile: 210; xml: 35
file content (23 lines) | stat: -rwxr-xr-x 451 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -e

make_msgfmt()
{
    for i in locales/*.po ; do
        msgfmt -c -o `echo $i | sed -e s/\.po/.mo/g` $i || exit 1
    done
}

echo " - aclocal" && aclocal -I admin && \
echo " - automake" && automake --foreign -a -c -f && \
echo " - autoconf" && autoconf && \
\
echo " - generate-docs.make" && make -C docs  -f generate-docs.make && \
\
echo " - msgfmt" && make_msgfmt && \
exit 0

echo "Automatic build files setup failed!"
exit 1