diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-08-19 13:34:22 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-08-19 13:34:22 +0000 |
commit | 44e77bff02287c77576a143f9aa0adab6d80538e (patch) | |
tree | e1d9602250257a12c7b0ce3ebacbf6ee9bcf1d64 /solenv/bin/modules/packager | |
parent | d394fee3a45a6da9bf93ff56626c92bd3888128f (diff) |
#i10000# Fixed by hjs: make changes of CWS debianer work
Diffstat (limited to 'solenv/bin/modules/packager')
-rw-r--r-- | solenv/bin/modules/packager/work.pm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/solenv/bin/modules/packager/work.pm b/solenv/bin/modules/packager/work.pm index 5793e10eb75a..9f2ef7fef649 100644 --- a/solenv/bin/modules/packager/work.pm +++ b/solenv/bin/modules/packager/work.pm @@ -2,9 +2,9 @@ # # $RCSfile: work.pm,v $ # -# $Revision: 1.5 $ +# $Revision: 1.6 $ # -# last change: $Author: rt $ $Date: 2005-08-18 12:52:00 $ +# last change: $Author: rt $ $Date: 2005-08-19 14:34:22 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -224,6 +224,8 @@ sub start_build_server if ( ! $ENV{'PRJNAME'} ) { packager::exiter::exit_program("ERROR: Environment variable PRJNAME not set!", "do_broadcast"); } my $prjname = $ENV{PRJNAME}; + my $pkgformat = $ENV{PKGFORMAT}; + my $prjdep = $prjname . "\\" . "util"; # always windows like path my @targetdirs; my @targetlines = (); @@ -236,6 +238,10 @@ sub start_build_server @targetlines=(); push( @targetlines, "\ngenerated_target : $target\n\n"); # to be included into the makefile.mk + if ( defined $pkgformat ) { + push( @targetlines, "\n$target : ".'$$@{$(PKGFORMAT:^".")}'."\n\n"); # to be included into the makefile.mk + } + generate_makefile($tempdir, $makefilepath, $prjroot, $target, \@targetlines); do_broadcast($tempdir, $prjname, $prj, $platform, $prjdep); |