Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
129 ghuddy 1
# Copyright (C) 1998-2006 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 for package Release_Manager
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
GenerateFiles ('*', 'jats_transform_file',
22
                    '--NoVarTag',
23
                    '-infile=--Prerequisite(_about.template)',
24
                    '-outfile=--GeneratedCommon(_about.asp)',
25
                    '-tag=__NAME__,--Var(BuildName)',
26
                    '-tag=__VERSION__,--Var(BuildVersion)',
27
                    '-tag=__VERSIONNUM__,--Var(BuildVersionNum)',
28
                );
29
 
30
 
31
 
32
############################################################################
33
#   Define the source files
34
#
35
 
36
#.............................................................................
37
# Packaging definitions
38
#
1376 dpurdie 39
PackageFile ( '*', '--DirTree=.',
40
                   '--FilterOut=.jats.packageroot',
41
                   '--FilterOut=build.pl',
42
                   '--FilterOut=descpkg',
43
                   '--FilterOut=Makefile.gbe',
44
                   '--FilterOut=makefile.pl',
1425 dpurdie 45
                   '--FilterOut=/.svn/',
46
                   '--FilterOut=jats_metrics.dat',
47
                   '--FilterOut=_about.template',
1385 dpurdie 48
                   '--FilterOut=local_dpkg_archive',
1376 dpurdie 49
                   '--Prod', '--Prefix=etc' );
129 ghuddy 50
PackageFile ( '*', '_about.asp', '--Prefix=etc' );
51
 
52
#..
53
#
54
Src         ( '*'   , 'descpkg' );
55
PackageFile ( '*'   , 'descpkg' );
56
 
57
#.............................................................................
58
# Finally generate the makefile
59
#
60
MakefileGenerate();
61
 
62
#..  Successful termination
63
1;