Subversion Repositories DevTools

Rev

Rev 1689 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1689 Rev 4334
Line 1... Line 1...
1
# Copyright (C) 1998-2006 ERG Limited, All rights reserved
1
# Copyright (C) 1998-2004 ERG Limited, All rights reserved
2
#
2
#
3
# Module name   : Makefile.pl
3
# Module name   : Makefile.pl
4
# Module type   : Makefile system
4
# Module type   : Makefile system
5
# Compiler(s)   : ANSI C
5
# Compiler(s)   : ANSI C
6
# Environment(s): n/a
6
# Environment(s): n/a
7
#
7
#
8
# Description:    makefile.pl for package ant
8
# Description:    makefile.pl template example
9
#
9
#
10
#.........................................................................#
10
#.........................................................................#
11
 
11
 
12
die "Usage: Makefile.pl rootdir Makelib.pl\n"
12
die "Usage: Makefile.pl rootdir Makelib.pl\n"
13
    unless( $#ARGV+1 >= 2 );
13
    unless( $#ARGV+1 >= 2 );
Line 22... Line 22...
22
#   Define the source files
22
#   Define the source files
23
#
23
#
24
 
24
 
25
#.............................................................................
25
#.............................................................................
26
# Packaging definitions
26
# Packaging definitions
-
 
27
#   Package up the entire ant distribution
-
 
28
#   It goes into the pkg subdir - largely so that it can be processed by BuildPkgArchive
27
#
29
#
-
 
30
PackageFile ('*', '--DirTree=apache-ant-1.9.2', '--StripDir', '--Subdir=pkg/ant');
-
 
31
 
-
 
32
Src         ('*', 'info.ant.generic');
28
PackageFile ( '*', '../ant.xml', '--StripDir' );
33
PackageFile ('*', 'info.ant.generic', '--Gbe=INFO');
29
 
34
 
30
#..
35
#..
31
#
36
# 
32
Src         ( '*'   , 'descpkg' );
-
 
33
PackageFile ( '*'   , 'descpkg' );
37
PackageFile ('*'   , 'descpkg' );
34
 
38
 
35
#.............................................................................
39
#.............................................................................
36
# Finally generate the makefile
40
# Finally generate the makefile
37
#
41
#
38
MakefileGenerate();
42
MakefileGenerate();
39
 
43
 
40
#..  Successful termination
44
#..  Successful termination
41
1;
45
1;
-
 
46