]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - fortune/datfiles/Makefile
fixed makefile so it doesn't need to write to dir on install and doesn't
[bsdgames-darwin.git] / fortune / datfiles / Makefile
1 # @(#)Makefile 5.2 (Berkeley) 5/6/91
2
3 #
4 # set `OBSCENE' to "real" to have obscene fortunes installed,
5 # fake to have a note stating that they're not installed
6 # isntalled in their place
7 #
8 OBSCENE=real
9
10 DATFILES=fortunes.dat startrek.dat zippy.dat fortunes-o.dat
11 CLEANFILES+=${DATFILES}
12
13 install: ${DATFILES}
14 install -o ${BINOWN} -g ${BINGRP} -m 444 ${DATFILES} \
15 ${DESTDIR}/usr/share/games/fortune
16
17 fortunes-o.dat: ${.TARGET:R}.${OBSCENE}.rot13
18 ${.CURDIR}/../strfile/obj/strfile -rsx \
19 ${.CURDIR}/${.TARGET:R}.${OBSCENE}.rot13 ${.TARGET}
20
21 fortunes.dat startrek.dat zippy.dat: ${.TARGET:R}
22 ${.CURDIR}/../strfile/obj/strfile -rs \
23 ${.CURDIR}/${.TARGET:R} ${.TARGET}
24
25 .include <bsd.prog.mk>