sugar-toolkit-gtk3/Makefile.am
2013-04-09 11:36:51 +02:00

27 lines
580 B
Makefile

ACLOCAL_AMFLAGS = -I m4
DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
TESTS_TMPDIR=$(abs_builddir)/tests-tmp
TESTS_PYTHONPATH=$(abs_srcdir)/src:$(PYTHONPATH)
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update
EXTRA_DIST = \
intltool-merge.in \
intltool-update.in \
intltool-extract.in
SUBDIRS = bin src po
check: test
test:
cd $(top_srcdir)/tests && \
mkdir -p $(TESTS_TMPDIR) && \
TMPDIR=$(TESTS_TMPDIR) PYTHONPATH=$(TESTS_PYTHONPATH) \
python -m unittest discover && \
rm -rf $(TESTS_TMPDIR)