# $Id: Makefile.config,v 1.2 2007/06/28 20:49:10 rjones Exp $ PACKAGE := xavierbot VERSION := 0.1 # Prefix for installation. # - Binaries are installed in $(PREFIX)/sbin # - Other files go in $(PREFIX)/share/$(PACKAGE) PREFIX=/usr/local BINDIR=$(PREFIX)/bin SBINDIR=$(PREFIX)/sbin DATADIR=$(PACKAGE)/share/$(PACKAGE) # Install location of the SUID wrapper. WRAPPER=$(SBINDIR)/ocamlbotwrapper # Location where the init script is installed. INITSCRIPT=$(DATADIR)/init # Location (directory) for chrooted environment. CHROOTDIR=/var/local/xavierbot/chroot # Location of ocaml program. OCAML=/usr/bin/ocaml # OCaml command user. OCAMLUSER=nobody # If you want to run it without installing, leave the # following uncommented. You will also need to create # directory $(CHROOTDIR), compile everything, and make # ocamlbotwrapper be chown root.root, chmod ug+s. INITSCRIPT=init WRAPPER=./ocamlbotwrapper