ransford / pdflatex-makefile

Simple Makefile for pdflatex-produced documents
113 stars 37 forks source link

Avoid problem with colons in output of svnversion. #13

Closed eeide closed 10 years ago

eeide commented 10 years ago

`svnversion' output can contain colons. If this happens, then the following Makefile line is misparsed by GNU Make:

$(DRAFTS): %-$(REVISION).pdf: %.pdf

The error is: "Makefile.include:136: *\ target pattern contains no `%'. Stop."

Avoid this error by replacing colons in the output of `svnversion' with dashes.

ransford commented 10 years ago

You're absolutely right. I haven't used Subversion for a paper in a while so this went unnoticed. Thanks for the patch!