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 [ "x$GTK24_HOME" = "x" ]; then
7 echo 'Run me like this:'
8 echo '0compile setup ../../ROX-Filer-src.xml build-dir'
14 if [ ! -f Makefile
]; then
15 "$GTK24_HOME/gtk-2.4" "$SRCDIR/ROX-Filer/src/configure" "$@" ||
exit 1
18 [ -d "$DISTDIR/ROX-Filer" ] || mkdir
"$DISTDIR/ROX-Filer" ||
exit 1
20 "$GTK24_HOME/gtk-2.4" make "PLATFORM_DIR=$DISTDIR/ROX-Filer"||
exit 1
22 (cd "$SRCDIR" && cp -ru Choices
install.sh README README-es ROX-Filer.xml rox.xml rox
.1 "$DISTDIR") ||
exit 1
23 (cd "$SRCDIR/ROX-Filer" && cp -ru .DirIcon Help images Messages ROX AppInfo.xml AppRun Options.xml style.css subclasses
"$DISTDIR/ROX-Filer") ||
exit 1
24 find "$DISTDIR" -name '.svn' -type d |
xargs rm -rf
26 # Remove debugging symbols, if any
27 rm -f "$DISTDIR/ROX-Filer/ROX-Filer.dbg"