summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/moderncv/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/moderncv/examples/Makefile')
-rw-r--r--macros/latex/contrib/moderncv/examples/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/macros/latex/contrib/moderncv/examples/Makefile b/macros/latex/contrib/moderncv/examples/Makefile
new file mode 100644
index 0000000000..66f85dbead
--- /dev/null
+++ b/macros/latex/contrib/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;
+