sugar-toolkit-gtk3/Makefile.am

31 lines
636 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)
2013-05-18 04:33:36 +02:00
pep8 $(top_srcdir)
test:
mkdir -p $(TESTS_TMPDIR)
cd $(top_srcdir)/tests; \
TMPDIR=$(TESTS_TMPDIR) PYTHONPATH=$(TESTS_PYTHONPATH) \
python -m unittest discover; \
status=$$?; \
rm -rf $(TESTS_TMPDIR); \
exit $$status