diff options
author | Maho Nakata <maho@FreeBSD.org> | 2008-04-03 08:02:08 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2008-04-03 08:02:08 +0000 |
commit | 9738e89833872bfbacff0e22efed3bfa5bddcf47 (patch) | |
tree | b5d5c8758738eb5d6e06498901eda5a520283c37 /editors/openoffice.org-3-RC | |
parent | Better generate.pl (diff) |
Better generate.pl. more automatic.
Diffstat (limited to 'editors/openoffice.org-3-RC')
-rw-r--r-- | editors/openoffice.org-3-RC/files/generate.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/openoffice.org-3-RC/files/generate.pl b/editors/openoffice.org-3-RC/files/generate.pl index b8a936d5f689..c29a7cb3f1c3 100644 --- a/editors/openoffice.org-3-RC/files/generate.pl +++ b/editors/openoffice.org-3-RC/files/generate.pl @@ -1,11 +1,12 @@ #!/usr/bin/perl # generate full build shell script for OpenOffice.org # Whom: Maho Nakata <maho@FreeBSD.org> -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/files/Attic/generate.pl,v 1.7 2005-12-23 04:14:28 maho Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/files/Attic/generate.pl,v 1.8 2008-04-03 08:02:08 maho Exp $ print "#!/bin/csh\n"; print "make deinstall clean\n"; print "/usr/bin/time -h make WITH_CCACHE=yes install package package-rename solver sdk ure languagepack deinstall >& log.en\n"; +print "bzip2 log.en\n"; #print "rm work/.configure* work/.build* \n"; #workaround for breakage at odk sdk_oo print "make deinstall clean\n"; @@ -19,6 +20,10 @@ while(<FILE>){ if ( $tmp[0] eq ".if" && $tmp[1] eq "\${LOCALIZED_LANG}" ) { $LANG=$tmp2[1]; print "make TWEAK_L10N=yes LOCALIZED_LANG=$LANG pre-everything\n"; print "/usr/bin/time -h make LOCALIZED_LANG=$LANG WITH_CCACHE=yes languagepack package package-rename deinstall >& log.$LANG\n"; + print "bzip2 log.$LANG\n"; } } close FILE; +print "md5 OOo* > MD5SUMS.log\n"; +print "sudo -u `who am i | awk '{print \$1}'` ssh build.good-day.net mkdir -p /home/ftp/pub/OpenOffice.org/FreeBSD/`make -V OOOTAG`/`uname -r`/`uname -m`\n"; +print "sudo -u `who am i | awk '{print \$1}'` scp OOo* MD5SUMS.log build.good-day.net:/home/ftp/pub/OpenOffice.org/FreeBSD/`make -V OOOTAG`/`uname -r`/`uname -m`\n"; |