summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-1.1-devel/files/generate.pl
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-08-13 03:04:04 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-08-13 03:04:04 +0000
commit369083f9cd172ba99ef02704c9a42556c3a29114 (patch)
tree098d07a541fcef1add15a3690287163e60e65db7 /editors/openoffice.org-1.1-devel/files/generate.pl
parentUpdate to 0.37 (diff)
o remove obsolated (?) patches
files/freebsd-local.sh files/patch-connectivity+source+drivers+mozab+mozillasrc+makefile.mk files/patch-desktop+scripts+soffice.sh files/patch-solenv+bin+addsym.awk files/patch-tools+source+string+tstring.cxx files/patch-unoil+makefile.pmk o More clean-up of Makefiles o add generate.pl, generates csh script that build everything o WITHOUT_MOZILLA for 5-current, workaround for mozilla subproject
Diffstat (limited to 'editors/openoffice.org-1.1-devel/files/generate.pl')
-rw-r--r--editors/openoffice.org-1.1-devel/files/generate.pl21
1 files changed, 21 insertions, 0 deletions
diff --git a/editors/openoffice.org-1.1-devel/files/generate.pl b/editors/openoffice.org-1.1-devel/files/generate.pl
new file mode 100644
index 000000000000..dfbbdc7f6e46
--- /dev/null
+++ b/editors/openoffice.org-1.1-devel/files/generate.pl
@@ -0,0 +1,21 @@
+#!/usr/bin/perl
+
+# generate full build shell script for OpenOffice.org
+# Whom: Maho Nakata <maho@FreeBSD.org>
+# $FreeBSD$
+
+print "#!/bin/csh\n";
+print "/usr/bin/time make WITH_CCACHE=yes package package-rename solver sdk deinstall clean >& log.en\n";
+print "/usr/bin/time make ALL_LOCALIZED_LANGS=yes >& log.all\n";
+
+open ( FILE, "< Makefile.localized") ;
+while(<FILE>){
+@tmp=split (' ',$_);
+@tmp2=split ('"',$tmp[3]);
+if ( $tmp[1] eq "\${LOCALIZED_LANG}") { $LANG=$tmp2[1];
+ print "make TWEAK_L10N=yes LOCALIZED_LANG=$LANG pre-everything\n";
+ print "/usr/bin/time make LOCALIZED_LANG=$LANG WITH_CCACHE=yes package package-rename deinstall >& log.$LANG\n";
+ }
+}
+close FILE;
+