From 3fd8ea4ca09402531178cdb2e7ff854a7bd0810b Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 26 Jan 2015 02:08:09 +0900 Subject: [PATCH] Add some comments --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index aeda01e..3cca660 100644 --- a/Makefile +++ b/Makefile @@ -121,9 +121,14 @@ $(dotfiles_dir)/%: $(dotfiles_dir)/.git test -f "$@" endif +# Shortcut target for interactive usage +# For example, `make file-emacs.el use_git=` will fetch emacs.el from web with +# curl program. +# NOTE: Is there any way to make all `file-%` targets phony? file-%: $(dotfiles_dir)/% - true + test -f "$<" +# Make sure $(dotfiles_dir)/% wont be removed as intermidiate files .PRECIOUS: $(dotfiles_dir)/%