makefile
This commit is contained in:
parent
14eb8692c0
commit
f1a335fe47
7
Makefile
7
Makefile
@ -4,15 +4,20 @@ default: all
|
||||
|
||||
all:
|
||||
.PHONY: all
|
||||
licences
|
||||
|
||||
|
||||
|
||||
TEX:= $(wildcard ./*/*.tex)
|
||||
tex: $(TEX)
|
||||
pdflatex
|
||||
|
||||
|
||||
## Licences ##
|
||||
## Convert svg licence files to pdf+pdf_tex
|
||||
LICENCES:= $(wildcard ./licences/*.svg)
|
||||
LICENCES_PDF:= $(patsubst %.svg,%.pdf,$(wildcard ./licences/*.svg))
|
||||
licences: $(LICENCES_PDF)
|
||||
$(LICENCES_PDF): $(LICENCES)
|
||||
echo $(TEX)
|
||||
inkscape -D $^ -o $@ --export-latex
|
||||
|
||||
|
@ -96,7 +96,7 @@ breaklinks=true,
|
||||
|
||||
% --- 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{\thesequence}{Séquence 0}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user