endif
ifeq (1,$(VIRUS))
- EDITOR = virus.c
+ EDITOR = editors/virus.c
else
- EDITOR = ee.c
+ EDITOR = editors/ee.c
endif
CC = gcc
need to put gzip in there though if you compile nethack to use it for
compression.)
-3) Edit dgamelaunch.conf. This will contain information for dgamelaunch
+3) Edit etc/dgamelaunch.conf. This will contain information for dgamelaunch
about what uid/username, gid/group to shed privileges to at runtime. It
must also contain the path to nethack, and needs to know certain aspects
of your chroot.
termdata="/usr/share/terminfo"
[ -f dgl-create-chroot.conf ] && . ./dgl-create-chroot.conf
+[ -f etc/dgl-create-chroot.conf ] && . etc/dgl-create-chroot.conf
findlibs()
{
touch $chroot_path/dgl-lock
# Might want to remove these two for packaging?
-cp dgl-default-rcfile $chroot_path
-cp dgl-banner $chroot_path
+cp etc/dgl-default-rcfile $chroot_path
+cp etc/dgl-banner $chroot_path
chown $shed_uid:$shed_gid $chroot_path/dgl-*
#include <errno.h>
#include <stdarg.h>
-#include "last_char_is.c"
+#include "editors/last_char_is.c"
#ifndef TRUE
#define TRUE ((int)1)