5 ICONDIR
=$PREFIX/share
/ugit
/icons
6 QMDIR
=$PREFIX/share
/ugit
/qm
7 DOCDIR
=$PREFIX/share
/doc
/ugit
17 cp README
$DOCDIR/README.txt
18 cp scripts
/ugit-win32.sh
$BINDIR
19 cp scripts
/py2exe-
* $BINDIR
20 cp ugit
/git-ugit
$BINDIR
24 PYUIC4
=$
(which pyuic4
)
25 if [ -z $PYUIC4 ] ||
[ ! -x $PYUIC4 ]; then
27 echo "Could not find pyuic4."
28 echo "You need the pyqt4 developer tools in order to build ugit."
31 for file in ui
/*.ui
; do
32 BASENAME
=$
(basename $file .ui
)
33 $PYUIC4 -x $file -o $UGIT/$BASENAME.py
37 MSGFMT
=$
(which msgfmt
)
38 if [ -z $MSGFMT ] ||
[ ! -x $MSGFMT ]; then
40 echo "Could not find msgfmt."
41 echo "You need the msgfmt from GNU gettext in order to create"
42 echo "the translation files for ugit."
45 for file in po
/*.po
; do
46 BASENAME
=$
(basename $file .po
)
47 $MSGFMT --qt -o $QMDIR/$BASENAME.qm
$file