Makefile.am 334 B

12345678910
  1. check_PROGRAMS = test
  2. test_LDADD = $(top_builddir)/src/libmagic.la
  3. EXTRA_DIST = \
  4. gedcom.magic gedcom.testfile gedcom.result
  5. T = $(top_srcdir)/tests
  6. check-local:
  7. MAGIC=$(top_builddir)/magic/magic ./test
  8. for i in $T/*.testfile; do MAGIC=$T/$${i%%.testfile}.magic $(top_builddir)/tests/test $T/$$i $T/$${i%%.testfile}.result; done