Applied Bernard Jungen's patch and suggestion:
[rox-filer/th.git] / ROX-Filer / src / build
blobb195edb552018b882f41c6a83eb3b9fe3fade40a
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.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"