[Midnightbsd-cvs] src [11770] U trunk/share/i18n/esdb/Makefile.part: update directory

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Jul 11 10:41:42 EDT 2018


Revision: 11770
          http://svnweb.midnightbsd.org/src/?rev=11770
Author:   laffer1
Date:     2018-07-11 10:41:41 -0400 (Wed, 11 Jul 2018)
Log Message:
-----------
update directory

Modified Paths:
--------------
    trunk/share/i18n/esdb/Makefile
    trunk/share/i18n/esdb/Makefile.inc
    trunk/share/i18n/esdb/Makefile.part

Property Changed:
----------------
    trunk/share/i18n/esdb/Makefile.inc
    trunk/share/i18n/esdb/Makefile.part

Modified: trunk/share/i18n/esdb/Makefile
===================================================================
--- trunk/share/i18n/esdb/Makefile	2018-07-11 14:38:21 UTC (rev 11769)
+++ trunk/share/i18n/esdb/Makefile	2018-07-11 14:41:41 UTC (rev 11770)
@@ -1,4 +1,5 @@
-# $FreeBSD$
+# $MidnightBSD$
+# $FreeBSD: stable/10/share/i18n/esdb/Makefile 291792 2015-12-04 18:14:31Z bdrewery $
 # $NetBSD: Makefile,v 1.14 2007/04/01 18:52:30 tnozaki Exp $
 
 FILESDIR= ${ESDBDIR}
@@ -5,23 +6,26 @@
 
 SUBDIR=	APPLE AST BIG5 CP DEC EUC EBCDIC GB GEORGIAN ISO-2022 ISO-8859 \
 	ISO646 KAZAKH KOI MISC TCVN UTF
+SUBDIR_PARALLEL=
 
 FILES+=	esdb.dir esdb.dir.db esdb.alias esdb.alias.db
 CLEANFILES= ${FILES}
 
 esdb.dir: ${SUBDIR}
-	touch $@
-.for i in ${SUBDIR}
-	cat ${i}/esdb.dir.${i} >>${.TARGET}
-.endfor
+	newfile=$$(for i in ${SUBDIR}; do \
+		cat $$i/esdb.dir.$$i; \
+	done); \
+	[ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
+		printf '%s\n' "$$newfile" >${.TARGET}
 esdb.dir.db: esdb.dir
 	${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
 
 esdb.alias: ${SUBDIR}
-	touch $@
-.for i in ${SUBDIR}
-	cat ${i}/esdb.alias.${i} >>${.TARGET}
-.endfor
+	newfile=$$(for i in ${SUBDIR}; do \
+		cat $$i/esdb.alias.$$i; \
+	done); \
+	[ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
+		printf '%s\n' "$$newfile" >${.TARGET}
 esdb.alias.db: esdb.alias
 	${MKESDB} -m -o ${.TARGET} ${.ALLSRC}
 

Modified: trunk/share/i18n/esdb/Makefile.inc
===================================================================
--- trunk/share/i18n/esdb/Makefile.inc	2018-07-11 14:38:21 UTC (rev 11769)
+++ trunk/share/i18n/esdb/Makefile.inc	2018-07-11 14:41:41 UTC (rev 11770)
@@ -1,4 +1,5 @@
-# $FreeBSD$
+# $MidnightBSD$
+# $FreeBSD: stable/10/share/i18n/esdb/Makefile.inc 219019 2011-02-25 00:04:39Z gabor $
 
 .PATH: ${.CURDIR}
 


Property changes on: trunk/share/i18n/esdb/Makefile.inc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/share/i18n/esdb/Makefile.part
===================================================================
--- trunk/share/i18n/esdb/Makefile.part	2018-07-11 14:38:21 UTC (rev 11769)
+++ trunk/share/i18n/esdb/Makefile.part	2018-07-11 14:41:41 UTC (rev 11770)
@@ -1,4 +1,5 @@
-# $FreeBSD$
+# $MidnightBSD$
+# $FreeBSD: stable/10/share/i18n/esdb/Makefile.part 219019 2011-02-25 00:04:39Z gabor $
 # $NetBSD: Makefile.part,v 1.6 2008/10/25 22:35:36 apb Exp $
 
 MKESDB?= ${.OBJDIR}/../../../../usr.bin/mkesdb_static/mkesdb_static


Property changes on: trunk/share/i18n/esdb/Makefile.part
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list