about-fedora/devel about-comment.xsl,NONE,1.1 Makefile,1.24,1.25

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Thu Jun 21 04:07:05 UTC 2007


Author: pfrields

Update of /cvs/docs/about-fedora/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28541/devel

Modified Files:
	Makefile 
Added Files:
	about-comment.xsl 
Log Message:
Fix comment in desktop file to follow HIG (#245055)


--- NEW FILE about-comment.xsl ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- Pull fdo desktop file comment from about-fedora's "comment.xml" file -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output omit-xml-declaration="yes" preserve-space="no" encoding="UTF-8"
    indent="no" method="text"/>
  <xsl:template match="*">
    <xsl:value-of select="/remark"/>
  </xsl:template>
</xsl:stylesheet>


Index: Makefile
===================================================================
RCS file: /cvs/docs/about-fedora/devel/Makefile,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- Makefile	17 May 2007 19:56:51 -0000	1.24
+++ Makefile	21 Jun 2007 04:07:02 -0000	1.25
@@ -16,7 +16,8 @@
 VERSION		= 7.0.0
 
 define XMLFILES_template
-XMLFILES-${1}=	${1}/${DOCBASE}.xml
+XMLFILES-${1}=	${1}/${DOCBASE}.xml \
+		${1}/comment.xml
 endef
 
 #
@@ -40,19 +41,20 @@
 
 
 ${PKGNAME}-${VERSION}/about-gnome.desktop:: about-gnome.desktop.in 	\
-				$(foreach LN,${OTHERS},${LN}/about-fedora.xml)
+				$(foreach LN,${OTHERS},${LN}/about-fedora.xml \
+				${LN}/comment.xml)
 	mkdir -p ${PKGNAME}-${VERSION}
 	$(eval NAME_L10N=Name=$(shell ${XSLTPROC} 			\
 		about-title.xsl ${PRI_LANG}/about-fedora.xml))
 	$(eval COMMENT_L10N=Comment=$(shell ${XSLTPROC}			\
-		about-title.xsl ${PRI_LANG}/about-fedora.xml))
+		about-comment.xsl ${PRI_LANG}/comment.xml))
 	$(eval EXEC_L10N=Exec=yelp ghelp:about-fedora)
 	$(foreach L,${LANGUAGES},$(eval					\
 		NAME_L10N+=\nName[${L}]=$(shell ${XSLTPROC}		\
 			about-title.xsl ${L}/about-fedora.xml)))
 	$(foreach L,${LANGUAGES},$(eval					\
 		COMMENT_L10N+=\nComment[${L}]=$(shell ${XSLTPROC}	\
-			about-title.xsl ${L}/about-fedora.xml)))
+			about-comment.xsl ${L}/comment.xml)))
 	sed -e 's!@NAME-L10N@!${NAME_L10N}!' -e 's!@COMMENT-L10N@!${COMMENT_L10N}!' -e 's!@EXEC-L10N@!${EXEC_L10N}!' $< > $@
 
 




More information about the Fedora-docs-commits mailing list