File: Makefile.am

package info (click to toggle)
gnome-python 2.28.1%2Bdfsg-1.2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,312 kB
  • ctags: 1,032
  • sloc: sh: 10,219; ansic: 7,997; xml: 2,464; python: 1,886; makefile: 396
file content (19 lines) | stat: -rw-r--r-- 958 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
tests =  \
	testvfs.py testbonobo.py testgnome.py

PYTHONPATH = $(top_builddir):$(top_builddir)/gnomecanvas:$(top_builddir):$(top_builddir)/bonobo:$(top_builddir)/gconf:$(shell echo $$PYTHONPATH)

check-local:
	@if ! test -e $(top_builddir)/gnome/__init__.py; then cp $(top_srcdir)/gnome/__init__.py $(top_builddir)/gnome/__init__.py; fi
	@if ! test -e $(top_builddir)/gnomevfs/__init__.py; then cp $(top_srcdir)/gnomevfs/__init__.py $(top_builddir)/gnomevfs/__init__.py; fi
	@if ! test -e $(top_builddir)/bonobo/__init__.py; then cp $(top_srcdir)/bonobo/__init__.py $(top_builddir)/bonobo/__init__.py; fi
	@PYTHONPATH=$(PYTHONPATH) DIST_CHECK=1 $(PYTHON) -W error $(srcdir)/runtests.py

	@if test "$(top_builddir)" != "$(top_srcdir)"; then\
		rm -f $(top_builddir)/gnome/__init__.py*;\
		rm -f $(top_builddir)/gnomevfs/__init__.py*;\
		rm -f $(top_builddir)/bonobo/__init__.py*;\
	fi
	@rm -fr *.pyc 

EXTRA_DIST = $(tests) common.py runtests.py ltihooks.py