This is just a little more versatile:
ifeq ($(firstword $(subst /,
,ALONE-IF-ABSOLUTE$(template_dir))),ALONE-IF-ABSOLUTE)
template_instdir = $template_dir
else
template_instdir = $(gitexecdir)/$(template_dir)
endif
export template_instdir
Paolo
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html