summaryrefslogtreecommitdiff
path: root/examples/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-11 18:35:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-11 18:35:19 +0200
commit98ce3d9f82847932f974b10841ccb77b3cba838f (patch)
treeb4987762ea041988d6ba60d5e8c1b08a969bd541 /examples/makefile
parentc831e6282726bde7596050be13bc4afbf5d45488 (diff)
Add install target
Diffstat (limited to 'examples/makefile')
-rw-r--r--examples/makefile5
1 files changed, 3 insertions, 2 deletions
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))