tweak some stuff to reflect the new directory organization

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@171 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Joshua Kwan 2004-01-26 08:44:18 +00:00
parent a3d6878aac
commit 6d9107f99d
4 changed files with 7 additions and 6 deletions

View File

@ -17,9 +17,9 @@ else
endif endif
ifeq (1,$(VIRUS)) ifeq (1,$(VIRUS))
EDITOR = virus.c EDITOR = editors/virus.c
else else
EDITOR = ee.c EDITOR = editors/ee.c
endif endif
CC = gcc CC = gcc

2
README
View File

@ -49,7 +49,7 @@ variable in include/unixconf.h and/or the HACKDIR variable in include/config.h.
need to put gzip in there though if you compile nethack to use it for need to put gzip in there though if you compile nethack to use it for
compression.) 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 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 must also contain the path to nethack, and needs to know certain aspects
of your chroot. of your chroot.

View File

@ -26,6 +26,7 @@ playground_var="/var/games/nethack"
termdata="/usr/share/terminfo" termdata="/usr/share/terminfo"
[ -f dgl-create-chroot.conf ] && . ./dgl-create-chroot.conf [ -f dgl-create-chroot.conf ] && . ./dgl-create-chroot.conf
[ -f etc/dgl-create-chroot.conf ] && . etc/dgl-create-chroot.conf
findlibs() findlibs()
{ {
@ -71,8 +72,8 @@ touch $chroot_path/dgl-login
touch $chroot_path/dgl-lock touch $chroot_path/dgl-lock
# Might want to remove these two for packaging? # Might want to remove these two for packaging?
cp dgl-default-rcfile $chroot_path cp etc/dgl-default-rcfile $chroot_path
cp dgl-banner $chroot_path cp etc/dgl-banner $chroot_path
chown $shed_uid:$shed_gid $chroot_path/dgl-* chown $shed_uid:$shed_gid $chroot_path/dgl-*

View File

@ -81,7 +81,7 @@ char *vi_Version = "0.0.2+dgamelaunch " VERSION;
#include <errno.h> #include <errno.h>
#include <stdarg.h> #include <stdarg.h>
#include "last_char_is.c" #include "editors/last_char_is.c"
#ifndef TRUE #ifndef TRUE
#define TRUE ((int)1) #define TRUE ((int)1)