This commit is contained in:
Adrian Amaglio 2020-10-07 14:53:53 +02:00
parent 14eb8692c0
commit f1a335fe47
2 changed files with 7 additions and 2 deletions

View File

@ -4,15 +4,20 @@ default: all
all: all:
.PHONY: all .PHONY: all
licences
TEX:= $(wildcard ./*/*.tex)
tex: $(TEX)
pdflatex
## Licences ## ## Licences ##
## Convert svg licence files to pdf+pdf_tex ## Convert svg licence files to pdf+pdf_tex
LICENCES:= $(wildcard ./licences/*.svg) LICENCES:= $(wildcard ./licences/*.svg)
LICENCES_PDF:= $(patsubst %.svg,%.pdf,$(wildcard ./licences/*.svg)) LICENCES_PDF:= $(patsubst %.svg,%.pdf,$(wildcard ./licences/*.svg))
licences: $(LICENCES_PDF) licences: $(LICENCES_PDF)
$(LICENCES_PDF): $(LICENCES) $(LICENCES_PDF): $(LICENCES)
echo $(TEX)
inkscape -D $^ -o $@ --export-latex inkscape -D $^ -o $@ --export-latex

View File

@ -96,7 +96,7 @@ breaklinks=true,
% --- Register some information about the document % --- Register some information about the document
% --- % ---
\newcommand{\thelicence}{\def\svgwidth{.1\columnwidth}\input{cc-by-sa.pdf_tex}} \newcommand{\thelicence}{\def\svgwidth{.1\columnwidth}\input{../licences/cc-by-sa.pdf_tex}}
\newcommand{\thelevel}{SNT} \newcommand{\thelevel}{SNT}
\newcommand{\thesequence}{Séquence 0} \newcommand{\thesequence}{Séquence 0}