Subversion Repositories DevTools

Rev

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

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