mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 20:48:06 +02:00
[Makefile.am] Couple check-ref-missing into release-check
Verify that all the reference images checked into git will be included within the distribution tarball as early as possible in the release process.
This commit is contained in:
parent
f9a80c06b4
commit
9ebfa8b5fb
2 changed files with 17 additions and 5 deletions
|
|
@ -149,6 +149,10 @@ release-verify-sane-changelogs: changelogs
|
|||
&& false); else :; fi
|
||||
@echo "Good."
|
||||
|
||||
release-verify-sane-tests:
|
||||
@echo "Checking that the TESTS are sane..."
|
||||
@cd test && $(MAKE) $(AM_MAKEFLAGS) release-verify-sane-tests
|
||||
|
||||
release-verify-soname-major:
|
||||
@echo -n "Checking that the cairo soname major number is 2..."
|
||||
@test "$(LT_CURRENT_MINUS_AGE)" = "2" \
|
||||
|
|
@ -184,7 +188,7 @@ release-remove-old:
|
|||
release-cleanup-group-sticky:
|
||||
find . -type f | xargs chmod g-s
|
||||
|
||||
release-check: release-verify-sane-changelogs release-verify-soname-major release-verify-even-micro release-verify-newer release-remove-old release-cleanup-group-sticky distcheck
|
||||
release-check: release-verify-sane-changelogs release-verify-sane-tests release-verify-soname-major release-verify-even-micro release-verify-newer release-remove-old release-cleanup-group-sticky distcheck
|
||||
|
||||
release-upload: release-check $(tar_file) $(sha1_file) $(gpg_file)
|
||||
mkdir -p releases
|
||||
|
|
|
|||
|
|
@ -701,8 +701,16 @@ check-ref-dups:
|
|||
|
||||
# Not exactly the best script in the world...
|
||||
check-ref-missing:
|
||||
@for i in *-ref.png; do\
|
||||
echo ${REFERENCE_IMAGES} | grep -sq $$i || echo $$i; \
|
||||
done
|
||||
@missing=""; \
|
||||
for i in `git ls-files *-ref.png`; do \
|
||||
echo ${REFERENCE_IMAGES} | grep -sq $$i || missing="$$missing $$i" ; \
|
||||
done ; \
|
||||
if test -n "$$missing"; then \
|
||||
echo "Some reference files are not included in the distribution." ;\
|
||||
echo "Missing from REFERENCE_IMAGES:$$missing" ; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
.PHONY: check-valgrind test recheck retest html rehtml check-ref-dups check-ref-missing
|
||||
release-verify-sane-tests: check-ref-missing
|
||||
|
||||
.PHONY: check-valgrind test recheck retest html rehtml check-ref-dups check-ref-missing release-verify-sane-tests
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue