fixed makefile so it doesn't need to write to dir on install and doesn't
need symlink
This commit is contained in:
parent
85c42bf5a8
commit
e263767442
|
@ -1,17 +1,22 @@
|
|||
# @(#)Makefile 5.2 (Berkeley) 5/6/91
|
||||
|
||||
#
|
||||
# set `OBSCENE' to "real" to have obscene fortunes installed,
|
||||
# fake to have a note stating that they're not installed
|
||||
# isntalled in their place
|
||||
#
|
||||
OBSCENE=real
|
||||
|
||||
DATFILES=fortunes.dat startrek.dat zippy.dat fortunes-o.dat
|
||||
CLEANFILES+=${DATFILES}
|
||||
|
||||
install: ${DATFILES}
|
||||
(cd ${.CURDIR} && install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${DATFILES:R} ${DESTDIR}/usr/share/games/fortune)
|
||||
install -o ${BINOWN} -g ${BINGRP} -m 444 ${DATFILES} \
|
||||
${DESTDIR}/usr/share/games/fortune
|
||||
|
||||
fortunes-o.dat: ${.TARGET:R}
|
||||
fortunes-o.dat: ${.TARGET:R}.${OBSCENE}.rot13
|
||||
${.CURDIR}/../strfile/obj/strfile -rsx \
|
||||
${.CURDIR}/${.TARGET:R} ${.TARGET}
|
||||
${.CURDIR}/${.TARGET:R}.${OBSCENE}.rot13 ${.TARGET}
|
||||
|
||||
fortunes.dat startrek.dat zippy.dat: ${.TARGET:R}
|
||||
${.CURDIR}/../strfile/obj/strfile -rs \
|
||||
|
|
Loading…
Reference in New Issue