mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 00:23:56 +00:00
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>
This commit is contained in:
parent
270f1285bf
commit
4d9a4f5534
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user