summaryrefslogtreecommitdiffstats
path: root/release/dist
diff options
context:
space:
mode:
Diffstat (limited to 'release/dist')
-rwxr-xr-xrelease/dist18
1 files changed, 18 insertions, 0 deletions
diff --git a/release/dist b/release/dist
new file mode 100755
index 0000000..b148b4e
--- /dev/null
+++ b/release/dist
@@ -0,0 +1,18 @@
+(
+ source `dirname $0`/common $1 $2
+ cd $package
+
+ if [ $package = "qt-copy" ] || [ $package = "kdoc" ]; then
+ make -f Makefile.cvs || exit 1
+ elif test $isl10n -eq 1; then
+ cat subdirs | while read lang; do
+ scripts/autogen.sh $lang || exit 1
+ done
+ else
+ make -f admin/Makefile.common dist || exit 1
+ fi
+
+ # remove junk
+ find . -maxdepth 3 -type d -name autom4te.cache | xargs rm -rf
+
+) || exit 1