Subversion Repositories DevTools

Rev

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",
361 dpurdie 28
                     "--Var(InterfaceDir)",
229 dpurdie 29
                     "--Var(BuildName)",
30
                     "--Var(BuildVersion)",
31
                     "--Var(PackageDir)",
32
                     "--Var(BuildRoot)",
33
                     "--Var(Verbose)",
34
                     );
35
 
36
#.............................................................................
37
# Packaging definitions
38
#
39
PackageFile ( '*'   , 'descpkg' );
40
 
41
#.............................................................................
42
# Finally generate the makefile
43
#
44
MakefileGenerate();
45
 
46
#..  Successful termination
47
1;
48