File: bootstrap

package info (click to toggle)
poedit 3.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 11,032 kB
  • sloc: cpp: 53,735; sh: 4,198; makefile: 227; xml: 40
file content (21 lines) | stat: -rwxr-xr-x 357 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
#!/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 && \
echo " - automake" && automake -a -c -f && \
echo " - autoconf" && autoconf && \
\
echo " - msgfmt" && make_msgfmt && \
exit 0

echo "Automatic build files setup failed!"
exit 1