Is it possible to have variables in GNU Make recipes?
Something like this doesn't work:
%_t.mkd : %.mkd
REV=$$(svn info $<|grep 'Last Changed Rev'|cut -f4 -d\ )
echo $${REV}
Is there some way to make that work at all?
As you can see what I want is to extract the revision that a file was changed and then use that later in the full recipe. Unfortunately I can't use svn:keywords
as I need the revision number outside of the document in question.