All of our .tex
files are of a form:
Proj-JIRA-1234-Internal.tex
(where 1234
can be any 4-digit number.)
I currently have the command to process the full filename like this:
%: %.tex
echo $@
texify --pdf --synctex=1 --clean [email protected]
I was wondering if there was a way I could call make
like:
make 1234.tex
And it could find the full filename and execute the texify
command.
I’m kind of new to Makefile
so I don’t know if this is doable.
I tried changing some of the parameters, and was getting circular references, etc. I am also playing around with some of the string functions available within Make
but they appear to work on the file name as it exists in the repo?
Russell Urquhart C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2