From 4d9a4f5534781933b7b199e4cf98c218fd74f8e1 Mon Sep 17 00:00:00 2001 From: Yogesh Sharma Date: Thu, 26 May 2016 10:22:42 -0400 Subject: 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 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" -- cgit v0.10.2-6-g49f6