1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

Make build deterministic by not randomizing the datfiles themselves,

random lines are selected on output and that's enough.

From daniel, ok tb
This commit is contained in:
tb 2016-09-02 11:55:24 +00:00
parent f910ac1129
commit 24605cc5b9

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2003/09/26 03:08:44 beck Exp $
# $OpenBSD: Makefile,v 1.7 2016/09/02 11:55:24 tb Exp $
# $NetBSD: Makefile,v 1.15 1996/02/29 00:21:16 jtc Exp $
# @(#)Makefile 8.2 (Berkeley) 4/19/94
@ -32,10 +32,10 @@ install: ${SRCS} ${BLDS}
${DESTDIR}/usr/share/games/fortune
fortunes.dat fortunes2.dat fortunes2-o.dat limerick.dat startrek.dat zippy.dat recipes.dat:
${STRFILE} -rs ${.CURDIR}/${.TARGET:R} ${.TARGET}
${STRFILE} -s ${.CURDIR}/${.TARGET:R} ${.TARGET}
fortunes-o.dat: fortunes-o
${STRFILE} -rsx fortunes-o ${.TARGET}
${STRFILE} -sx fortunes-o ${.TARGET}
fortunes-o: fortunes-o.${TYPE}
tr [a-zA-Z] [n-za-mN-ZA-M] < ${.ALLSRC} > ${.TARGET}