Hack to avoid messing up Makefiles when doing cleanup.
Dragging over some custom functions from an old emacs config
My latex snippets