Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2016 23:27:44 +0000 (UTC)
From:      Warren Block <wblock@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r48097 - head/share/mk
Message-ID:  <201601262327.u0QNRicY008555@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wblock
Date: Tue Jan 26 23:27:44 2016
New Revision: 48097
URL: https://svnweb.freebsd.org/changeset/doc/48097

Log:
  Put a plain $FreeBSD$ in the generated PO, rather than an ID string that
  has been expanded by Subversion.  Thanks to bjk!

Modified:
  head/share/mk/doc.docbook.mk

Modified: head/share/mk/doc.docbook.mk
==============================================================================
--- head/share/mk/doc.docbook.mk	Tue Jan 26 03:15:20 2016	(r48096)
+++ head/share/mk/doc.docbook.mk	Tue Jan 26 23:27:44 2016	(r48097)
@@ -290,7 +290,9 @@ PO_CATALOG_FILES+=     ${EXTRA_CATALOGS}
 PO_XMLLINT=	env XML_CATALOG_FILES="${PO_CATALOG_FILES}" ${PREFIX}/bin/xmllint
 
 # fix settings in PO file
-POSET_CMD=	${SED} -i '' -e '1s,^,\#$$FreeBSD$$\${.newline},' \
+IDSTR1=		$$Free
+IDSTR2=		BSD$$
+POSET_CMD=	${SED} -i '' -e '1s,^,\#${IDSTR1}${IDSTR2}\${.newline},' \
 			     -e 's,^\(\"Language-Team:.*\\n\"\),\1\${.newline}\"Language: ${PO_LANG}\\n\",' \
 			     -e 's,^\"Content-Type: text/plain; charset=.*\\n,\"Content-Type: text/plain; charset=${PO_CHARSET}\\n,'
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601262327.u0QNRicY008555>