makefile, multiple languages due to multiple yml files
dimitrieh opened this issue · 2 comments
I created a question about this on stack overflow :) its about the make file
thought maybe you could help out, as its your code initially ;)
it basically tells the following:
Say i have the following files:
makefile
file1_ENG.yaml
file2_NL.yaml
template.tex
I would like to have the makefile output pdf files from all the yaml files.
So in this case, 2 pdf's with the same names, file1_ENG.pdf & file2_NL.pdf.
Currently I have:
TEX = pandoc
src = template.tex $(wildcard *.yml)
FLAGS = --latex-engine=xelatex
file1_ENG.pdf : $(src)
$(TEX) $(filter-out $<,$^ ) --verbose -o $@ --template=$< $(FLAGS)
.PHONY: clean
clean :
rm file1_ENG.pdf
dont know if the wildcard thing is working.. also how to get the names of the imported files and use these as output filenames?
Looks like SO already sorted it out for you.
Yep:), although the makefile has an error now when generating the files in
a subfolder
Op di 24 mei 2016 11:21 schreef Mattia Tezzele notifications@github.com:
Looks like SO already sorted it out for you.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#5 (comment)
Dimitrie Hoekstra, UI & Interaction Designer
dhesign.com | dimitriehoekstra@gmail.com | LinkedIn
https://www.linkedin.com/in/dimitrieh | Twitter
https://twitter.com/strages33/