[debian-edu-commits] debian-edu/ 01/01: Clean up Makefile.common now that $DBLATEX is set language specific.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Sun Jun 19 19:17:42 UTC 2016


This is an automated email from the git hooks/post-receive script.

schweer-guest pushed a commit to branch master
in repository debian-edu-doc.

commit e8b3680b775332c3ece74659ffd4889c315d0482
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Sun Jun 19 21:16:05 2016 +0200

    Clean up Makefile.common now that $DBLATEX is set language specific.
---
 documentation/common/Makefile.common | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/documentation/common/Makefile.common b/documentation/common/Makefile.common
index 3b5467c..73b7edf 100644
--- a/documentation/common/Makefile.common
+++ b/documentation/common/Makefile.common
@@ -14,7 +14,6 @@ else
     DBLATEX = dblatex -b xetex -p ../common/dblatex.xsl
 endif
 
-DBXETEX = dblatex -b xetex -p ../common/dblatex.xsl
 # that's ugly, smarter approach appreciated
 directory = `echo $(name) | sed 's/-manual//'`
 
@@ -93,13 +92,8 @@ pdf:
 	$(DBLATEX) $(name).xml --param=lingua=en
 else
 pdf:
-	if [ "$(LINGUA)" = "ja" ] ; then \
-	    po4a --translate-only $(name).$(LINGUA).xml po4a.cfg ; \
-	    $(DBXETEX) $(name).$(LINGUA).xml --param=lingua=$(LINGUA) ; \
-	else \
-	    po4a --translate-only $(name).$(LINGUA).xml po4a.cfg ; \
-	    $(DBLATEX) $(name).$(LINGUA).xml --param=lingua=$(LINGUA) ; \
-	fi
+	po4a --translate-only $(name).$(LINGUA).xml po4a.cfg
+	$(DBLATEX) $(name).$(LINGUA).xml --param=lingua=$(LINGUA)
 endif
 
 ifndef LINGUA

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-doc.git



More information about the debian-edu-commits mailing list