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