Skip to content

Commit e2f4486

Browse files
jaredledvinadevshane
authored andcommitted
Makefile also installs man pages (#5)
Thanks! I'll follow this up with a release.
1 parent 6f9f030 commit e2f4486

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ BINDIR = /usr/games
66
# Where to install the data file
77
LIBDIR = /usr/games/lib
88

9+
# Where to install the man page
10+
MANDIR = /usr/share/man
11+
912
# The dungeon program provides a ``more'' facility which tries to
1013
# figure out how many rows the terminal has. Several mechanisms are
1114
# supported for determining this; the most common one has been left
@@ -69,6 +72,7 @@ install: zork dtextc.dat
6972
mkdir -p $(BINDIR) $(LIBDIR)
7073
cp zork $(BINDIR)
7174
cp dtextc.dat $(LIBDIR)
75+
cp dungeon.6 $(MANDIR)/man6/
7276

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

0 commit comments

Comments
 (0)