From 98ce3d9f82847932f974b10841ccb77b3cba838f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 11 Oct 2009 18:35:19 +0200 Subject: Add install target --- examples/makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples/makefile') diff --git a/examples/makefile b/examples/makefile index 0180e9a..135b9bb 100644 --- a/examples/makefile +++ b/examples/makefile @@ -8,11 +8,12 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make examples := hello features default := $(out_base)/ +install := $(out_base)/.install clean := $(out_base)/.clean -.PHONY: $(default) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(examples))) +$(install): $(addprefix $(out_base)/,$(addsuffix /.install,$(examples))) + $(call install-data,$(src_base)/README,$(install_doc_dir)/cli/examples/README) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(examples))) $(foreach e,$(examples),$(call import,$(src_base)/$e/makefile)) -- cgit v1.1