docs-common Makefile.common,1.154,1.155

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Sat Mar 24 21:33:35 UTC 2007


Author: pfrields

Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6737

Modified Files:
	Makefile.common 
Log Message:
In fact, remove ALL the old document-entities building code.  This
should all be covered in the default %.ent and %.xml targets anyway,
since again, everything depends on the same PO.  Testing thus far
shows this is just cruft too.



Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -r1.154 -r1.155
--- Makefile.common	24 Mar 2007 21:29:54 -0000	1.154
+++ Makefile.common	24 Mar 2007 21:33:32 -0000	1.155
@@ -344,36 +344,6 @@
 #########################################################################
 
 #########################################################################
-# Rules to generate the "${LANG}/${DOC_ENTITIES}.ent" file, if used
-define DOC_ENTITIES_template
-
-${1}/${DOC_ENTITIES}.xml:: ${1}/${FDP_ENTITIES} po/${1}.po ${PRI_LANG}/${DOC_ENTITIES}.xml
-	${XML2PO} ${XML2POFLAGS} -p po/${1}.po 				\
-		${PRI_LANG}/${DOC_ENTITIES}.xml >$$@
-
-clean::
-	${RM} ${1}/${DOC_ENTITIES}.xml
-
-${1}/${DOC_ENTITIES}.ent::  ${1}/${DOC_ENTITIES}.xml
-
-help::
-	@printf ${TFMT} '${1}/${DOC_ENTITIES}.ent' 'Per-doc entities for locale "${1}"'
-	@printf ${TFMT} '${1}/${DOC_ENTITIES}.xml' 'Translated per-doc entities for locale "${1}"'
-endef
-
-ifneq	"${DOC_ENTITIES}" ""
-${PRI_LANG}/${DOC_ENTITIES}.ent::  ${PRI_LANG}/${DOC_ENTITIES}.xml
-help::
-	@printf ${TFMT} '${PRI_LANG}/${DOC_ENTITIES}.ent' 'Per-doc entities for locale "${PRI_LANG}"'
-$(foreach L, ${OTHERS},$(eval $(call DOC_ENTITIES_template,${L})))
-
-showvars::
-	@echo "DOC_ENTITIES=${DOC_ENTITIES}"
-endif
-#
-#########################################################################
-
-#########################################################################
 po/${DOCBASE}.pot:: ${DOC_ENTITIES_XML-${PRI_LANG}} 			\
 		${DOC_ENTITIES_ENT-${PRI_LANG}}				\
 		${PRI_LANG}/${FDP_ENTITIES} ${XMLFILES-${PRI_LANG}}




More information about the Fedora-docs-commits mailing list