Subversion Repositories DevTools

Rev

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

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