ransford / pdflatex-makefile

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

Small makefile improvements #4

Closed rpavlik closed 12 years ago

rpavlik commented 12 years ago

The first accounts for the fact that the existence of .git/$(GIT_BRANCH) is not guaranteed (try a git gc for example), so switches the dep to .git/HEAD which I've used in other similar situations.

The second will use the user's preferred pdf viewer, rather than hardcoded evince, to open the file. (As a side effect, it doesn't block the terminal - it launches in the background)

ransford commented 12 years ago

Oh, and thanks! Never heard of xdg-open.