File: Makefile.am

package info (click to toggle)
moap 0.2.7-2.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,356 kB
  • sloc: python: 5,590; sh: 818; makefile: 224; cs: 16
file content (45 lines) | stat: -rw-r--r-- 1,017 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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# version first -- they are parsed LTR and later options depend on automake 1.8
AUTOMAKE_OPTIONS = 1.8 dist-bzip2 no-dist-gzip

ACLOCAL_AMFLAGS = -I m4

SUBDIRS = bin etc moap doc m4 misc

EXTRA_DIST = HACKING moap.spec moap.doap RELEASE

check: pychecker check-python check-bash

check-python:
	trial moap.test

check-bash:
	$(SHELL) $(top_srcdir)/moap/test/test_bash_completion.sh $(top_builddir)/etc/bash_completion.d/moap

_trial_temp/coverage: $(top_srcdir)/moap/*.py $(top_srcdir)/moap/*/*.py
	trial --coverage moap.test

coverage: _trial_temp/coverage
	python misc/show-coverage.py `ls _trial_temp/coverage/moap* | grep -v moap.test | grep -v moap.extern`

clean-local:
	@rm -rf _trial_temp

PYCHECKER_WHITELIST = \
	moap/*.py \
	moap/bug/*.py \
	moap/command/*.py \
	moap/doap/*.py \
	moap/util/*.py \
	moap/vcs/*.py

PYCHECKER_BLACKLIST = \
	moap/bug/bugzilla.py

release: dist
	make $(PACKAGE)-$(VERSION).tar.bz2.md5

# generate md5 sum files
%.md5: %
	md5sum $< > $@

include $(top_srcdir)/m4/pychecker.mk