1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 16:42:56 -08:00

mklocale(1) can handle C-style and shell-style comments natively,

no need for cpp here.  From natano@
This commit is contained in:
millert 2016-05-26 21:23:46 +00:00
parent ab1e2fdb5d
commit 4c16e73506

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2016/03/20 15:45:40 jca Exp $
# $OpenBSD: Makefile,v 1.12 2016/05/26 21:23:46 millert Exp $
# $NetBSD: Makefile,v 1.20 2005/02/10 18:03:02 tnozaki Exp $
NOMAN= # defined
@ -9,8 +9,7 @@ NOMAN= # defined
all: UTF-8.out
UTF-8.out: en_US.UTF-8.src
${CPP} < ${.CURDIR}/en_US.UTF-8.src | \
sed -e '/^#/d' | mklocale -o ${.TARGET}
mklocale -o ${.TARGET} ${.CURDIR}/en_US.UTF-8.src
CLEANFILES+= UTF-8.out