sugar-toolkit-gtk3/Makefile.am

28 lines
604 B
Makefile
Raw Normal View History

ACLOCAL_AMFLAGS = -I m4
DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
2012-12-06 22:19:28 +01:00
TESTS_TMPDIR=$(abs_builddir)/tests-tmp
TESTS_PYTHONPATH=$(abs_srcdir)/src:$(PYTHONPATH)
2008-02-06 16:43:10 +01:00
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update
EXTRA_DIST = \
intltool-merge.in \
intltool-update.in \
intltool-extract.in
SUBDIRS = bin src po
check: test
2013-05-05 01:29:52 +02:00
pyflakes $(top_srcdir)
test:
cd $(top_srcdir)/tests && \
2012-12-06 22:19:28 +01:00
mkdir -p $(TESTS_TMPDIR) && \
TMPDIR=$(TESTS_TMPDIR) PYTHONPATH=$(TESTS_PYTHONPATH) \
python -m unittest discover && \
rm -rf $(TESTS_TMPDIR)