Makefile.am 370 B

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