Don't use "cp -u" in build script; doesn't work on FreeBSD
[rox-filer/th.git] / ROX-Filer / src / build
blob34e0036ac8fbf387b317af35ce86f103e34721df
1 #!/bin/sh
3 # This script is called by ROX-Filer-src.xml. It builds the filer
4 # against the GTK 2.4 headers, using the gtk-2.4 compatibility environment.
6 if [ ! -f Makefile ]; then
7 "$SRCDIR/ROX-Filer/src/configure" "$@" || exit 1
8 fi
10 [ -d "$DISTDIR/ROX-Filer" ] || mkdir "$DISTDIR/ROX-Filer" || exit 1
12 make "PLATFORM_DIR=$DISTDIR/ROX-Filer"|| exit 1
14 (cd "$SRCDIR" && cp -r Choices README README-es ROX-Filer.xml rox.xml rox.1 "$DISTDIR") || exit 1
15 (cd "$SRCDIR/ROX-Filer" && cp -r .DirIcon Help images Messages ROX AppInfo.xml AppRun Options.xml style.css subclasses Templates.glade "$DISTDIR/ROX-Filer") || exit 1
16 find "$DISTDIR" -name '.svn' -type d |xargs rm -rf
18 # Remove debugging symbols, if any
19 rm -f "$DISTDIR/ROX-Filer/ROX-Filer.dbg"