diff options
| author | Yogesh Sharma <ysharm01@harris.com> | 2016-05-26 10:22:42 -0400 |
|---|---|---|
| committer | Yogesh Sharma <ysharm01@harris.com> | 2016-09-07 10:16:52 -0400 |
| commit | 4d9a4f5534781933b7b199e4cf98c218fd74f8e1 (patch) | |
| tree | 3a694d5b3e1bbffb7063174b7c96f1105f614e50 | |
| parent | 270f1285bf7096ca68ada6a6293158f7414b3e32 (diff) | |
| download | crosstool-ng-4d9a4f5534781933b7b199e4cf98c218fd74f8e1.tar.gz crosstool-ng-4d9a4f5534781933b7b199e4cf98c218fd74f8e1.tar.bz2 crosstool-ng-4d9a4f5534781933b7b199e4cf98c218fd74f8e1.zip | |
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>
| -rw-r--r-- | Makefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 3df6597a..16ab72a0 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" |
