Module Name: src Committed By: martin Date: Sun May 17 10:22:20 UTC 2015
Modified Files: src/usr.sbin/sysinst: Makefile.inc Log Message: Do not -DCATALOG_DIR for DEBUG builds to allow easy (local) testin of translations. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/sysinst/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/sysinst/Makefile.inc diff -u src/usr.sbin/sysinst/Makefile.inc:1.7 src/usr.sbin/sysinst/Makefile.inc:1.8 --- src/usr.sbin/sysinst/Makefile.inc:1.7 Sun May 10 09:13:15 2015 +++ src/usr.sbin/sysinst/Makefile.inc Sun May 17 10:22:20 2015 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.7 2015/05/10 09:13:15 martin Exp $ +# $NetBSD: Makefile.inc,v 1.8 2015/05/17 10:22:20 martin Exp $ # # Makefile for sysinst @@ -47,8 +47,11 @@ CATALOGDIR= /usr/share/sysinst/catalog CPPFLAGS+= -I. -I${.CURDIR}/../.. -I${.CURDIR} \ -DREL=\"${DISTRIBVER}\" -DMACH=\"${MACHINE}\" \ -DMACH_${MACHINE} -DARCH_${MACHINE_ARCH} \ - ${NODISKLABEL:D-DNO_DISKLABEL} \ - -DCATALOG_DIR=\"${CATALOGDIR}\" + ${NODISKLABEL:D-DNO_DISKLABEL} + +.if !defined(DEBUG) +CPPFLAGS+= -DCATALOG_DIR=\"${CATALOGDIR}\" +.endif .if (defined(DEBUG)) .if ${ACTIVE_CC} == "gcc"