lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | iall: |
| 2 | install: |
| 3 | test: |
| 4 | |
| 5 | # TESTCASES are taken from Makefile.inc |
| 6 | include Makefile.inc |
| 7 | |
| 8 | EXTRA_DIST = $(TESTCASES) DISABLED CMakeLists.txt |
| 9 | |
| 10 | filecheck: |
| 11 | @mkdir test-place; \ |
| 12 | cp "$(top_srcdir)"/tests/data/test[0-9]* test-place/; \ |
| 13 | rm test-place/*~; \ |
| 14 | for f in $(EXTRA_DIST); do \ |
| 15 | if test -f "$(top_srcdir)/tests/data/$$f"; then \ |
| 16 | rm -f "test-place/$$f"; \ |
| 17 | else \ |
| 18 | echo "$$f is listed but missing!"; \ |
| 19 | fi \ |
| 20 | done; \ |
| 21 | echo "Local files not present in EXTRA_DIST:" ; \ |
| 22 | ls test-place; \ |
| 23 | ! ls test-place | grep . >/dev/null ; \ |
| 24 | RC=$$? ; \ |
| 25 | rm -rf test-place ; \ |
| 26 | exit $$RC |
| 27 | |
| 28 | show: |
| 29 | @echo $(EXTRA_DIST) |