diff options
author | Andreas Mair <amair.sob@googlemail.com> | 2006-07-14 08:22:51 +0200 |
---|---|---|
committer | Andreas Mair <amair.sob@googlemail.com> | 2006-07-14 08:22:51 +0200 |
commit | 8652aa0a9b228e21df5dd68ccf83badb5e20bab8 (patch) | |
tree | 2035d01fe474c34aeac8d9307563be2bb58c9384 /make.sh | |
parent | f04236038448cce41ff2af10e2d0ccfcd8df378a (diff) | |
download | vdradmin-am-3.4.6.tar.gz vdradmin-am-3.4.6.tar.bz2 |
2006-07-14: 3.4.6v3.4.6
- No changes.
Diffstat (limited to 'make.sh')
-rwxr-xr-x | make.sh | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -5,9 +5,9 @@ DIST_FILES="COPYING CREDITS FAQ HISTORY INSTALL README README.translators REQUIR INSTALL_SH=./install.sh TMPDIR=/tmp -#TODO: -# - dist / distclean / clean +# Print usage information and exit +# function Usage() { echo "Usage: $0 cvs" @@ -19,12 +19,16 @@ function Usage() exit 1 } +# Print error message and exit. +# function Error() { [ "$1" ] && echo $* exit 1 } +# Compile and install locales. +# function do_po() { for L in $LANGS @@ -32,9 +36,12 @@ function do_po() [ -d locale/$L/LC_MESSAGES/ ] || mkdir -p locale/$L/LC_MESSAGES/ msgfmt po/$L.po -o po/$L.mo install -m 644 po/$L.mo locale/$L/LC_MESSAGES/vdradmin.mo + rm -f po/$L.mo done } +# Setup things after CVS checkout or update. +# function do_cvs() { # Create missing symbolic links @@ -42,11 +49,15 @@ function do_cvs() [ -e README ] || ln -s INSTALL README } +# Extract VDRAdmin-AM version from vdradmind.pl +# function getVersion() { grep "^my \$VERSION" vdradmind.pl | sed -e 's/^[^\"]*\"\([^\"]*\)\".*$/\1/' } +# Create tar.bz2 for distribution. +# function do_dist() { local DIST_NAME=vdradmin-am-$(getVersion) |