Subversion Repositories DevTools

Rev

Rev 5510 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5513 dpurdie 1
########################################################################
5510 dpurdie 2
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
5513 dpurdie 3
# Module name   : makefile.pl
4
# Module type   : JATS Makefile
5
# Environment(s): JATS Build System
27 rsolanki 6
#
5513 dpurdie 7
# Description   : Makefile for Deployment_Manager
27 rsolanki 8
#
5513 dpurdie 9
#......................................................................#
27 rsolanki 10
#
5513 dpurdie 11
# exec build system
12
#
13
die "Usage: Makefile.pl rootdir Makelib.pl\n" unless( $#ARGV+1 >= 2 );
27 rsolanki 14
require "$ARGV[1]";
15
 
16
#
17
# Build platform definitions ..
18
#
19
Platform( '*' );
20
 
33 ghuddy 21
GenerateFiles ('*', 'jats_transform_file',
22
                    '--NoVarTag',
5513 dpurdie 23
                    '-infile=--Prerequisite(../web/_about.template)',
24
                    '-outfile=--GeneratedCommon(../web/_about.asp)',
33 ghuddy 25
                    '-tag=__NAME__,--Var(BuildName)',
26
                    '-tag=__VERSION__,--Var(BuildVersion)',
27
                    '-tag=__VERSIONNUM__,--Var(BuildVersionNum)',
28
                );
29
 
30
 
5510 dpurdie 31
 
27 rsolanki 32
############################################################################
33
#   Define the source files
34
#
35
 
36
#.............................................................................
37
# Packaging definitions
38
#
5513 dpurdie 39
PackageFile ( '*', '--DirTree=../web', '--StripDir', 
5510 dpurdie 40
                   '--FilterOut=_about.template',
41
                   '--FilterOut=/archive/',
42
                   '--Prod', '--Prefix=etc' );
33 ghuddy 43
PackageFile ( '*', '_about.asp', '--Prefix=etc' );
5513 dpurdie 44
PackageFile ( '*', 'descpkg' );
27 rsolanki 45
 
46
#.............................................................................
47
# Finally generate the makefile
48
#
49
MakefileGenerate();
50
 
51
#..  Successful termination
52
1;