docs-common Makefile.common,1.98,1.99

Tommy Reynolds (jtr) fedora-docs-commits at redhat.com
Mon Mar 6 12:30:36 UTC 2006


Author: jtr

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

Modified Files:
	Makefile.common 
Log Message:
My bad.  FC4 xml2po does NOT have the "-l ${LANG}" switch, so I've 
taken it out.  Tranlations will have the bogus 'lang="po/${LANG}"'
attribute on their top-level element.

I'll complete the fix later this evening.  Sorry.



Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- Makefile.common	6 Mar 2006 02:39:16 -0000	1.98
+++ Makefile.common	6 Mar 2006 12:30:27 -0000	1.99
@@ -328,7 +328,10 @@
 		${DOC_ENTITIES_ENT-${1}}
 	mkdir -p ${1}
 	ln -s -f ../${2} $$@.in
-	${XML2PO} -e -p po/${1}.po -l ${1} $$@.in >$$@
+	# ${XML2PO} -e -p po/${1}.po -l ${1} $$@.in >$$@
+	# This gives the WRONG language "po/${1}" in the 
+	# translation, but I'll have to fix it later.  Sorry
+	${XML2PO} -e -p po/${1}.po $$@.in >$$@
 clean::
 	${RM} $$@.in
  endef




More information about the Fedora-docs-commits mailing list