mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-27 01:10:10 +01:00
Generates the lexicographical Makefile.refs based on the *.ref.png and *.xfail.png checked into git. This might be nice to automate as a Makefile target. But for now play safe and do the updates manually. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
12 lines
328 B
Bash
Executable file
12 lines
328 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# A very simple script. But sufficient, hopefully, for our current purposes.
|
|
|
|
cat <<EOF
|
|
# Note REFERENCE_IMAGES must be in lexicographical order.
|
|
# Use generate_refs.sh on a git checkout with updated images.
|
|
REFERENCE_IMAGES = \\
|
|
EOF
|
|
|
|
git ls-files '*.ref.png' '*.xfail.png' | sed 's/\(.*\)/ \1 \\/'
|
|
echo ' $(NULL)'
|