svn commit: r196744 - user/edwin/locale/share/msgdef

Edwin Groothuis edwin at FreeBSD.org
Tue Sep 1 22:24:27 UTC 2009


Author: edwin
Date: Tue Sep  1 22:24:27 2009
New Revision: 196744
URL: http://svn.freebsd.org/changeset/base/196744

Log:
  Split between the user-generatable and maintainer-generatable targets and sources. Use the FULL environment variable to toggle this.

Modified:
  user/edwin/locale/share/msgdef/Makefile

Modified: user/edwin/locale/share/msgdef/Makefile
==============================================================================
--- user/edwin/locale/share/msgdef/Makefile	Tue Sep  1 22:03:29 2009	(r196743)
+++ user/edwin/locale/share/msgdef/Makefile	Tue Sep  1 22:24:27 2009	(r196744)
@@ -120,7 +120,10 @@ FILESDIR_${ccln}.${cm}.out= ${LOCALEDIR}
 .endfor
 
 FILES=		${ALLFILES:S/$/.out/}
-CLEANFILES=	${ALLFILES:S/$/.out/} ${CCLN:S/$/.src/}
+CLEANFILES=	${ALLFILES:S/$/.out/}
+.if defined(FULL)
+CLEANFILES+=	${CCLN:S/$/.src/}
+.endif
 FILESNAME=	${LCTYPE}
 
 # All links
@@ -215,10 +218,16 @@ SYMLINKS+=	../${ccln}.${cm}/${LCTYPE} ${
 #
 
 .for ccln in ${CCLN}
+
+# Normal makes don't need to convert from .unicode to .src
+. if defined(FULL)
 ${ccln}.src: ${ccln}.unicode
 	echo ${.ALLSRC} > ${.TARGET}
+. endif
+
 ${ccln}.UTF-8.out: ${ccln}.src
 	grep -v '^#' < ${.ALLSRC} > ${.TARGET}
+
 .if defined(CMS_${ccln})
 .for cms in ${CMS_${ccln}}
 ${ccln}.${cms}.out: ${ccln}.src


More information about the svn-src-user mailing list