Subversion Repositories DevTools

Rev

Rev 5211 | Rev 6058 | Go to most recent revision | Details | Compare with Previous | 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
#
5211 dpurdie 27
CopyFile ('jats_lxr.sh', '/opt/lxr-scripts');
28
CopyFile ('jats_lxr.pl', '/opt/lxr-scripts');
5252 dpurdie 29
CopyFile ('lxr_clean_dir.sh', '/opt/lxr-scripts');
5211 dpurdie 30
CopyFile ('jats_lxr.conf', '/opt/lxr-scripts', 'jats_lxr.conf.new');
5209 dpurdie 31
 
32
# Templates used by the application
33
 
5211 dpurdie 34
CopyFile ('lxr.template', '/opt/lxr-scripts');
35
CopyFile ('lxr.tree.template', '/opt/lxr-scripts');
36
CopyFile ('lxr.initdb.sh', '/opt/lxr-scripts');
37
CopyFile ('lxr.dropdb.sh', '/opt/lxr-scripts');
5209 dpurdie 38
 
39
#
40
#   Insert crontab jobs
41
#
42
CopyFile ('lxr.crontab', '/etc/cron.d', 'lxr-manager');
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