Subversion Repositories DevTools

Rev

Rev 361 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
229 dpurdie 1
# Copyright (C) 1998-2007 ERG Limited, All rights reserved
2
#
3
# Module name   : Makefile.pl
4
# Module type   : Makefile system
5
# Compiler(s)   : ANSI C
6
# Environment(s): n/a
7
#
8
# Description:    makefile.pl to create the 'jats' packag
9
#
10
#.........................................................................#
11
 
12
die "Usage: Makefile.pl rootdir Makelib.pl\n"
13
    unless( $#ARGV+1 >= 2 );
14
require "$ARGV[1]";
15
 
16
#
17
# Build platform definitions ..
18
#
19
Platform( '*' );
20
 
21
############################################################################
22
#   Invoke a script to do the real work
23
#   The process of 'building' this package is really a packaging process
24
#
25
GenerateFiles ( '*', "--Script=MakePackage.pl",
26
                     "--NoGenerate",
27
                     "--Text=Releasing JATS",
28
                     "--Var(BuildName)",
29
                     "--Var(BuildVersion)",
30
                     "--Var(PackageDir)",
31
                     "--Var(BuildRoot)",
32
                     "--Var(Verbose)",
33
                     );
34
 
35
#.............................................................................
36
# Packaging definitions
37
#
38
PackageFile ( '*'   , 'descpkg' );
39
 
40
#.............................................................................
41
# Finally generate the makefile
42
#
43
MakefileGenerate();
44
 
45
#..  Successful termination
46
1;
47