mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
sort svgz file list
(required because filesystems return listings in undeterministic order) to generate Resources.qrc and thereby Resources.cpp and the lyx binary in a reproducible way Setting LC_ALL=C because sort order might vary with locales. See https://reproducible-builds.org/ for why this matters. Fixes #10711.
This commit is contained in:
parent
a550f7d91e
commit
b8e3615492
@ -26,6 +26,7 @@ moc_%.cpp: %.h
|
||||
Resources.qrc: Makefile
|
||||
$(AM_V_GEN)echo "<!DOCTYPE RCC><RCC version='1.0'><qresource>" > $@ ; \
|
||||
find $(top_srcdir)/lib/images -name '*.svgz' -o -name '*.png' -o -name '*.gif' \
|
||||
| LC_ALL=C sort \
|
||||
| sed -e 's:$(top_srcdir)/lib/\(.*\):<file alias="\1">&</file>:' \
|
||||
>> $@ ;\
|
||||
echo "</qresource></RCC>" >> $@
|
||||
|
Loading…
Reference in New Issue
Block a user