summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorYogesh Sharma <ysharm01@harris.com>2016-05-26 14:22:42 (GMT)
committerYogesh Sharma <ysharm01@harris.com>2016-09-07 14:16:52 (GMT)
commit4d9a4f5534781933b7b199e4cf98c218fd74f8e1 (patch)
tree3a694d5b3e1bbffb7063174b7c96f1105f614e50 /Makefile.in
parent270f1285bf7096ca68ada6a6293158f7414b3e32 (diff)
samples: install "broken" file
Currently the broken file is not installed when doing an non-local install. This causes ct-ng list-samples to not notify the user that a sample is broken. This commit triggers the creation of the broken file as needed. Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 3df6597..16ab72a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -349,6 +349,9 @@ install-lib-samples: $(DESTDIR)$(libdir) install-lib-main
$(install) -m 644 "$${libc_cfg}" \
"$(DESTDIR)$(libdir)/$${samp_dir}"; \
done; \
+ [ -e "$${samp_dir}/broken" ] && \
+ $(install) -m 644 "$${samp_dir}/broken" \
+ "$(DESTDIR)$(libdir)/$${samp_dir}/" || :; \
done
@$(install) -m 644 samples/samples.mk "$(DESTDIR)$(libdir)/samples/samples.mk"