doc-src/Locales/Makefile
changeset 27076 e104481d289d
parent 27063 d1d35284542f
child 42511 bf89455ccf9d
     1.1 --- a/doc-src/Locales/Makefile	Wed Jun 04 16:18:22 2008 +0200
     1.2 +++ b/doc-src/Locales/Makefile	Wed Jun 04 16:31:16 2008 +0200
     1.3 @@ -6,9 +6,6 @@
     1.4  
     1.5  default: dvi
     1.6  
     1.7 -## paths
     1.8 -
     1.9 -TEXPATH = Locales/document/:
    1.10  
    1.11  ## dependencies
    1.12  
    1.13 @@ -25,19 +22,21 @@
    1.14  dvi: $(NAME).dvi
    1.15  
    1.16  $(NAME).dvi: $(FILES)
    1.17 -	env TEXINPUTS=$(TEXPATH) $(LATEX) root
    1.18 -	env BIBINPUTS=$(TEXPATH) $(BIBTEX) root
    1.19 -	env TEXINPUTS=$(TEXPATH) $(LATEX) root
    1.20 -	env TEXINPUTS=$(TEXPATH) $(LATEX) root
    1.21 -	env TEXINPUTS=$(TEXPATH) $(LATEX) root
    1.22 -	mv root.dvi $(NAME).dvi
    1.23 +	cd Locales/document && \
    1.24 +	$(LATEX) root && \
    1.25 +	$(BIBTEX) root && \
    1.26 +	$(LATEX) root && \
    1.27 +	$(LATEX) root && \
    1.28 +	$(LATEX) root
    1.29 +	mv Locales/document/root.dvi $(NAME).dvi
    1.30  
    1.31  pdf: $(NAME).pdf
    1.32  
    1.33  $(NAME).pdf: $(FILES)
    1.34 -	env TEXINPUTS=$(TEXPATH) $(PDFLATEX) root
    1.35 -	env BIBINPUTS=$(TEXPATH) $(BIBTEX) root
    1.36 -	env TEXINPUTS=$(TEXPATH) $(PDFLATEX) root
    1.37 -	env TEXINPUTS=$(TEXPATH) $(PDFLATEX) root
    1.38 -	env TEXINPUTS=$(TEXPATH) $(PDFLATEX) root
    1.39 -	mv root.pdf $(NAME).pdf
    1.40 +	cd Locales/document && \
    1.41 +	$(PDFLATEX) root && \
    1.42 +	$(BIBTEX) root && \
    1.43 +	$(PDFLATEX) root && \
    1.44 +	$(PDFLATEX) root && \
    1.45 +	$(PDFLATEX) root
    1.46 +	mv Locales/document/root.pdf $(NAME).pdf