Commit 50f8d179 authored by erwan's avatar erwan
Browse files

CI: fix the lv6-man job

parent 51d3bb01
Pipeline #45560 passed with stages
in 4 minutes and 5 seconds
......@@ -15,6 +15,8 @@ MAIN=lv6-ref-man
SRCS= \
$(MAIN).tex \
preambule.tex \
commandes.tex \
exemple-env.tex \
touch.tex
# targets: fig 2 latex 2 pdf
......@@ -59,6 +61,8 @@ SUMMARY=$(OBJPDF)/syntax_summary.tex
# target: mly 2 latex
PARSER=$(OBJPDF)/lv6parser.tex
-include ./Makefile.local
all: $(OBJPDF) $(MAIN).pdf
.PHONY: dofigs
......@@ -80,9 +84,13 @@ h:$(SRCS)
#------------------------------
#------------------------------
$(MAIN).pdf : $(PARSER) $(SRCS) $(LUS2TEX) $(SUMMARY) $(FIGS) $(OBJPDF)/version.tex
cp $(SRCS) $(OBJPDF)
cp *.sty $(OBJPDF)
(cd objpdf; pdflatex ../$(MAIN).tex )
mv objpdf/$(MAIN).pdf .
scp $(MAIN).pdf jahier@pressembois.imag.fr:/import/www/DIST-TOOLS/SYNCHRONE/lustre-v6/doc || true
scp:$(MAIN).pdf
scp $(MAIN).pdf jahier@pressembois.imag.fr:/import/www/DIST-TOOLS/SYNCHRONE/lustre-v6/doc
#------------------------------
# Special : fig 2 latex 2 pdf
......@@ -93,8 +101,8 @@ $(OBJPDF)/%.tex : $(FIGDIR)/%.fig
cd $(OBJPDF); epstopdf $*.ps
cd $(OBJPDF); fig2dev -Lpstex_t -p $*.pdf $*.fig > $*.tex
LUS2LIC=lustre-v6
$(OBJPDF)/version.tex: $(LUS2LIC) Makefile
LUS2LIC=lv6
$(OBJPDF)/version.tex: Makefile
rm -f lv6-ref-man/version.tex ; \
date +VERSION_DATE=%d-%m-%y > lv6-ref-man/version.tex ; \
echo "\\\newcommand{\\\version}{`$(LUS2LIC) --version | cut -d " " -f1`}" > $(OBJPDF)/version.tex ; \
......
......@@ -684,7 +684,6 @@ non-terminals are written \lsxDef{like\_this} and terminals \lx{like
\newcommand{\tkint}{\tkspecial{integer}}
\input{lv6parser}
\input{lv6parser-old}
\begin{itemize}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment