Commit Graph

28 Commits

Author SHA1 Message Date
bde
313ce6d116 Don't do anything special to prevent access to created files - honour
the default umask.  World unreadable files broke installing over nfs.
1998-09-05 15:56:10 +00:00
bde
11782e8f3a Keep build-tools objects separate from `all' objects so that my
cross-builds work.
1998-09-02 15:22:11 +00:00
jb
fd4d97f90a Make the build tools static to avoid trying to use the shared loader
before it is installed.

This upsets Bruce because the host boostrap build forces tools to be
static anyway. He says I'm abusing NOTOOLS in src/Makefile by using
it to do a aout->elf transition build. One day I'll find a place to
install host tools like these to allow a true cross build.
1998-08-20 21:45:46 +00:00
bde
ed66710686 Added a `build-tools' target for internal tools.
Honor LDFLAGS for building internal tools.
1998-07-07 01:43:54 +00:00
jb
50990ba399 Add #include string.h to get prototypes. 1998-05-09 11:06:46 +00:00
jb
0b3eb0960a Add #include string.h to get prototypes and change variables from long
to time_t where they are passed to time() and localtime() by reference.
1998-05-09 11:03:03 +00:00
jb
07848ac9f9 Remove bogus time() prototype and let the one in time.h rule. 1998-05-09 11:00:50 +00:00
jb
bc22446757 Add #include string.h to get prototypes. 1998-05-09 10:59:57 +00:00
jkh
409011930c Wargh! Who went and changed all the getopt() comparisons from -1 to
EOF?  The getopt(3) manpage clearly states that the return value is *-1*,
not EOF!  Besides, getopt(3) isn't reading from a file. :)

Noticed-while:	merging to 2.2 (where this is correct).
1998-03-01 05:10:28 +00:00
bde
7f3ce6d5a7 Fixed long lines in install rule. Fixed other bogons while I was here:
- removed vestigal rule for a Lite1 `.0' manpage.
- don't duplicate defaults in the `all' dependencies.
- removed bogus dependency of `setup' on monsters.asc.
- compile `setup' with the usual CFLAGS.
- create monster files at build time, not at install time.
- don't be so repetitive in the install rule.
- fixed too-global replacement of `install' by ${INSTALL}.

Long lines made disgustingly longer by: previous commit.
1998-01-16 09:43:47 +00:00
imp
91694695ed Avoid fclose(NULL).
Submitted by:	 OpenBSD (Theo de Raadt)
1998-01-07 00:12:04 +00:00
eivind
c5dafab623 Fix phantasia.
Noticed by:	max
1998-01-05 17:28:01 +00:00
ache
493ca9d70f Use srandomdev 1997-09-24 05:28:05 +00:00
peter
ec6783896e Merge from Lite2 so that it compiles 1997-03-12 03:51:01 +00:00
peter
562af228b0 Revert $FreeBSD$ to $Id$ 1997-02-22 14:46:58 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
bde
d124e1b74d Use ${COPY} instead of -c for installing non-source files. 1997-01-01 04:22:23 +00:00
wosch
0afb8360fb delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
bde
8a5789682c Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
rgrimes
21c42b2996 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
rgrimes
adfbc76df6 Fix nested comments for -Wcomment warnings. 1995-05-09 13:33:06 +00:00
ats
398d74fc80 Add the files: characs, gold, lastdead, mess, monsters, motd, scoreboard, void
that are created from a setup program to the CLEANFILES list.
1994-11-28 11:12:29 +00:00
swallace
d0efbae3e4 Change setup.c so that game files are generated into obj dir,
then Makefile installs into ${DESTDIR}/var/games/phantasia
1994-09-19 05:41:13 +00:00
rgrimes
fcde3ed447 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:32:28 +00:00
jkh
841f5f470e Remove the conditional mkdir of /var/games/phantasia - done by mtree now.
Submitted by:	jkh
1994-09-08 19:19:46 +00:00
jkh
49baf3e80d Woo, naughty! It just occurred to me that this guy wasn't using
${DESTDIR} - fixed.
Submitted by:	jkh
1994-09-08 04:15:34 +00:00
jkh
bb3c864d0f More preventive medicine on making directories before installation.
Submitted by:	jkh
1994-09-08 04:11:45 +00:00
jkh
d8a265c292 Bring in the 4.4 Lite games directory, modulo man page changes and segregation
of the x11 based games.  I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way.  Bleah.
Submitted by:	jkh
1994-09-04 04:03:31 +00:00