summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/moderncv/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/moderncv/examples/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/moderncv/examples/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/moderncv/examples/Makefile b/Master/texmf-dist/doc/latex/moderncv/examples/Makefile
new file mode 100644
index 00000000000..66f85dbeade
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moderncv/examples/Makefile
@@ -0,0 +1,18 @@
+SHAREDFILES = moderncv.cls moderncvcompatibility.sty moderncvcolor*.sty moderncvdebugtools.sty
+
+
+template_classic_*.pdf: $(SHAREDFILES) template.tex template_classic_green.diff moderncvstyleclassic.sty moderncvheadi.sty moderncvbodyi.sty moderncviconsmarvosym.sty
+ TARGET=basename($<)
+ echo -e "Generating $<\c";
+ cp template.tex $TARGET.tex && echo -e ".\c";
+ patch --silent $TARGET.tex < $TARGET.diff && echo -e ".\c";
+ lualatex --interaction=batchmode --draftmode $TARGET > /dev/null && echo -e ".\c";
+ bibtex $TARGET > /dev/null && echo -e ".\c";
+ lualatex --interaction=batchmode $TARGET > /dev/null && echo -e ".\c";
+ lualatex --interaction=batchmode $TARGET > /dev/null && echo -e " done";
+
+clean:
+ rm *.aux *.log *.bbl *.blg *.out;
+ rm template_*.tex;
+ rm *.sty moderncv.cls;
+