Working bot.
[xavierbot.git] / Makefile.config
1 # $Id: Makefile.config,v 1.2 2007/06/28 20:49:10 rjones Exp $
2
3 PACKAGE := xavierbot
4 VERSION := 0.1
5
6 # Prefix for installation.
7 # - Binaries are installed in $(PREFIX)/sbin
8 # - Other files go in $(PREFIX)/share/$(PACKAGE)
9 PREFIX=/usr/local
10
11 BINDIR=$(PREFIX)/bin
12 SBINDIR=$(PREFIX)/sbin
13 DATADIR=$(PACKAGE)/share/$(PACKAGE)
14
15 # Install location of the SUID wrapper.
16 WRAPPER=$(SBINDIR)/ocamlbotwrapper
17
18 # Location where the init script is installed.
19 INITSCRIPT=$(DATADIR)/init
20
21 # Location (directory) for chrooted environment.
22 CHROOTDIR=/var/local/xavierbot/chroot
23
24 # Location of ocaml program.
25 OCAML=/usr/bin/ocaml
26
27 # OCaml command user.
28 OCAMLUSER=nobody
29
30
31 # If you want to run it without installing, leave the
32 # following uncommented.  You will also need to create
33 # directory $(CHROOTDIR), compile everything, and make
34 # ocamlbotwrapper be chown root.root, chmod ug+s.
35 INITSCRIPT=init
36 WRAPPER=./ocamlbotwrapper