projects
/
fairymax.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b2994cf
)
Add man-file target to Makefile
author
H.G. Muller
<h.g.muller@hccnet.nl>
Thu, 14 Jan 2010 22:30:34 +0000 (23:30 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Thu, 14 Jan 2010 22:30:34 +0000 (23:30 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
b389dc9
..
e2e8b77
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,7
+4,7
@@
CC=gcc
CFLAGS += -O2
-ALL= fairymax shamax maxqi
+ALL= fairymax shamax maxqi fairymax.6.gz
all: ${ALL}
@@
-26,11
+26,16
@@
install: ${ALL} ${srcdir}/data/*
install -d -m0755 /usr/share/man/man6
cp -u ${srcdir}/fairymax.6.gz /usr/share/man/man6
+fairymax.6.gz: fmax.6.pod
+ pod2man fmax.6.pod > fmax.man
+ cp fmax.man fairymax.6
+ gzip fairymax.6
+
clean:
rm -f ${ALL}
dist-clean:
- rm -f ${ALL} *~ data/*~
+ rm -f ${ALL} *~ data/*~ *.man
uninstall:
rm -f /usr/share/games/fairymax/*