Subversion Repositories DevTools

Rev

Rev 5721 | Rev 6112 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5721 Rev 5863
Line 130... Line 130...
130
    ShellBuild       ('*', $script, "-DebianPackage=$deb_dir", @uargs);
130
    ShellBuild       ('*', $script, "-DebianPackage=$deb_dir", @uargs);
131
    MakeDebianPackage('*', "--Script=$deb_build"  );
131
    MakeDebianPackage('*', "--Script=$deb_build"  );
132
}
132
}
133
 
133
 
134
#-------------------------------------------------------------------------------
134
#-------------------------------------------------------------------------------
-
 
135
# Function        : DebianShellBuild
-
 
136
#
-
 
137
# Description     : Launches a shell build script that has had a set of 
-
 
138
#                   pre-invoke work performed already.  Once the script
-
 
139
#                   Completes a Debian package builder is launched.
-
 
140
#
-
 
141
# Inputs          : platform          - Standard Platform Specifier
-
 
142
#                   script            - The shell build script to launch.
-
 
143
#                   variant           - The Debian package name variant.
-
 
144
#                   uargs             - User options, as per ShellBuild().
-
 
145
#
-
 
146
# Returns         : Nothing
-
 
147
#
-
 
148
sub DebianVariantShellBuild
-
 
149
{
-
 
150
    my ($platforms, $script, $variant, @uargs) = @_;
-
 
151
 
-
 
152
    return if ( ! ActivePlatform($platforms) );
-
 
153
 
-
 
154
    #
-
 
155
    #   The ShellBuild script will create the 'debbuild.pl' file
-
 
156
    #   Create a temp copy here in order to supress warnings
-
 
157
    #
-
 
158
    my $deb_dir = "$ScmPlatform.deb";
-
 
159
    my $deb_build = $deb_dir . '/debbuild.pl';
-
 
160
    mkdir ($deb_dir);
-
 
161
    TouchFile ( $deb_build );
-
 
162
 
-
 
163
    # Generate the files using ShellBuild()
-
 
164
    ShellBuild       ('*', $script, "-DebianPackage=$deb_dir", @uargs);
-
 
165
    MakeDebianPackage('*', "--Script=$deb_build", "--Variant=$variant"  );
-
 
166
}
-
 
167
 
-
 
168
#-------------------------------------------------------------------------------
135
# Function        : WindowsShellBuild
169
# Function        : WindowsShellBuild
136
#
170
#
137
# Description     : Runs a build script intended for Windows rather than Linux.
171
# Description     : Runs a build script intended for Windows rather than Linux.
138
#
172
#
139
# Inputs          : platform          - Standard Platform Specifier
173
# Inputs          : platform          - Standard Platform Specifier