Skip to content

Commit

Permalink
Makefile also installs man pages (#5)
Browse files Browse the repository at this point in the history
Thanks! I'll follow this up with a release.
  • Loading branch information
jaredledvina authored and devshane committed Jun 27, 2017
1 parent 6f9f030 commit e2f4486
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ BINDIR = /usr/games
# Where to install the data file
LIBDIR = /usr/games/lib

# Where to install the man page
MANDIR = /usr/share/man

# The dungeon program provides a ``more'' facility which tries to
# figure out how many rows the terminal has. Several mechanisms are
# supported for determining this; the most common one has been left
Expand Down Expand Up @@ -69,6 +72,7 @@ install: zork dtextc.dat
mkdir -p $(BINDIR) $(LIBDIR)
cp zork $(BINDIR)
cp dtextc.dat $(LIBDIR)
cp dungeon.6 $(MANDIR)/man6/

clean:
rm -f $(OBJS) zork core dsave.dat *~
Expand Down

0 comments on commit e2f4486

Please sign in to comment.