Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
5209 dpurdie 1
########################################################################
2
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
3
#
4
# Module name   : PackageApp
5
# Module type   : Makefile system
6
# Compiler(s)   : n/a
7
# Environment(s): jats
8
#
9
# Description   : Script to be processed by the Debian Packager
10
#                 This script is not directly processed by JATS
11
#
12
#   This file is processed by the Debian Packager in order to construct
13
#   the package. It contains simple directives to construct the package
14
#
15
#......................................................................#
16
 
17
SetVerbose (0);
18
 
19
#
20
#   Specify the DEBIAN packaging files
21
#
22
PackageDescription ("Tools to automate the creation of LXR Views");
23
DebianFiles ('--PostInst=postinstall.sh');
24
#
25
#   Insert the Application
26
#
27
CopyFile ('jats_lxr.sh', '/opt/lxr-scripts/');
28
CopyFile ('jats_lxr.pl', '/opt/lxr-scripts/');
29
CopyFile ('jats_lxr.conf', '/opt/lxr-scripts/', 'jats_lxr.conf.new');
30
 
31
# Templates used by the application
32
 
33
CopyFile ('lxr.template', '/opt/lxr-scripts/');
34
CopyFile ('lxr.tree.template', '/opt/lxr-scripts/');
35
CopyFile ('lxr.initdb.sh', '/opt/lxr-scripts/');
36
CopyFile ('lxr.dropdb.sh', '/opt/lxr-scripts/');
37
 
38
#
39
#   Insert crontab jobs
40
#
41
CopyFile ('lxr.crontab', '/etc/cron.d', 'lxr-manager');
42
 
43
 
44
#
45
#   Make every thing executable
46
#       This is good for directories
47
#       This is good for all files in this package.
48
#
49
Message ("Mark files as executable");
50
SetFilePerms ('a+rx', '/' , '--Recurse');
51
 
52
#
53
#   All done
54
#   The wrapper scripts will build and package the complete package
55