@echo " make install - update the current dot files with the repository"
@echo " make import FILES=<FILES>"
@echo " - import the dot files into the repository"
+ @echo " make diff FILE=<FILE>"
+ @echo " - show diff of the dot file"
@echo
lint:
-git status
endif
-.PHONY: help lint update commit install import
+ifeq ($(FILE),)
+diff:
+ @echo "Specify one file."
+ @echo "Usage: make diff FILE=<FILE>"
+ @exit 1
+else
+diff:
+ perl ./tools/diff.pl $(FILE) | $(PAGER)
+endif
+
+.PHONY: help lint update commit install import diff