-texmf = $(HOME)/texmf
-bibtexdir = $(texmf)/bibtex
-bibdir = $(bibtexdir)/bib
-bstdir = $(bibtexdir)/bst
-texdir = $(texmf)/tex
-latexdir = $(texdir)/latex
+### -*-makefile-*-
+### Makefile for texmf stuff
+
+all::
+.PHONY: all
+
+install::
+uninstall::
+.PHONY: install uninstall
+
+clean::
+.PHONY: clean
+
+.SECONDEXPANSION: #sorry
+
+V ?= 0
+if_v = $(call if_v_$V,$1,$2)
+if_v_0 = $1
+if_v_1 = $2
+V_AT = $(call if_v,@,)
+v_tag = \
+ $(call if_v,@printf " %-8s %s\n" "$1" "$(or $2,$@)";,)
+
+texmfdir = $(HOME)/texmf
+
+INSTALLDIRS += bib bst
+bibtexdir = $(texmfdir)/bibtex
+bibdir = $(bibtexdir)/bib
+bstdir = $(bibtexdir)/bst
+
+INSTALLDIRS += latex
+texdir = $(texmfdir)/tex
+latexdir = $(texdir)/latex
+
+INSTALLDIRS += fontinst
+fontinstdir = $(texdir)/fontinst