docs/fr .cvsignore Makefile.in

Dimi Paun dimi at users.sourceforge.net
Fri Jul 1 08:19:25 CDT 2005


ChangeSet ID:	1120223965809808748615072
CVSROOT:	/cvsroot/wine
Module name:	docs
Changes by:	dimi at sc8-pr-cvs1.sourceforge.net	2005/07/01 06:19:25

Modified files:
	fr             : .cvsignore Makefile.in 

Log message:
	Francois Gouget <fgouget at codeweavers.com>
	Now that Po4a can translate attributes we don't need the posgml+sed
	step.
	Po4a also handles the includes right now so we don't need to change
	the current directory anymore. This fixes out-of-tree builds.


Old revision  New revision  Changes     Path
 1.1           1.2           +1 -1       docs/fr/.cvsignore
 1.2           1.3           +4 -8       docs/fr/Makefile.in

Index: docs/fr/.cvsignore
diff -u -p docs/fr/.cvsignore:1.1 docs/fr/.cvsignore:1.2
--- docs/fr/.cvsignore	1 Jul 2005 13:19:25 -0000
+++ /dev/null	1 Jul 2005 13:19:25 -0000
@@ -1,6 +1,6 @@
 Makefile
 wine-faq.html
 wine-faq.pdf
-wine-faq.posgml
+wine-faq.sgml
 wine-faq.ps
 wine-faq.txt
Index: docs/fr/Makefile.in
diff -u -p docs/fr/Makefile.in:1.2 docs/fr/Makefile.in:1.3
--- docs/fr/Makefile.in	1 Jul 2005 13:19:25 -0000
+++ /dev/null	1 Jul 2005 13:19:25 -0000
@@ -5,7 +5,6 @@ VPATH     = @srcdir@
 
 LANG      = fr
 SGMLDIR   = $(TOPSRCDIR)/en
-DOCDIR    = $(TOPSRCDIR)/fr
 MIN_TRANS = 1
 
 WINEFAQ_SRCS = \
@@ -22,13 +21,10 @@ all: doc
 updatepo: $(ALLBOOKS:%=%.updatepo)
 
 %.updatepo:
-	cd $(SGMLDIR) && $(PO4AENV) perl $(PO4ADIR)/po4a-updatepo -f sgml -m $*.sgml -p $(DOCDIR)/$*.po
+	$(PO4AENV) perl $(PO4ADIR)/po4a-updatepo -f sgml -m $(SGMLDIR)/$*.sgml -p $(SRCDIR)/$*.po
 
-%.posgml: $(SGMLDIR)/%.sgml %.po
-	cd $(SGMLDIR) && $(PO4AENV) perl $(PO4ADIR)/po4a-translate -v -f sgml -m $*.sgml -p $(DOCDIR)/$*.po -l $(DOCDIR)/$*.posgml -k $(MIN_TRANS)
-
-%.sgml: %.posgml
-	sed -e 's/^<\(article .*\) lang="en">$$/<\1 lang="$(LANG)">/'  -e 's/^<\(book .*\) lang="en">$$/<\1 lang="$(LANG)">/' $*.posgml >$*.sgml || ($(RM) $*.sgml && false)
+%.sgml: $(SGMLDIR)/%.sgml %.po
+	$(PO4AENV) perl $(PO4ADIR)/po4a-translate -v -f sgml -m $(SGMLDIR)/$*.sgml -p $(SRCDIR)/$*.po -l $*.sgml -k $(MIN_TRANS)
 
 clean::
-	$(RM) $(ALLBOOKS:%=%.sgml) $(ALLBOOKS:%=%.posgml)
+	$(RM) $(ALLBOOKS:%=%.sgml)



More information about the wine-cvs mailing list