-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Makefile.am
executable file
·85 lines (62 loc) · 2.03 KB
/
Makefile.am
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# Copyright (C) 2008, 2011, 2014 Rocky Bernstein <rocky@gnu.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING. If not, write to
# the Free Software Foundation, 59 Temple Place, Suite 330, Boston,
# MA 02111 USA.
LANG = C
RUBY ?= ruby
GIT2CL ?= git2cl
AUTOMAKE_OPTIONS = dist-bzip2
SUBDIRS = command lib data doc test
pkgdata_DATA = \
dbg-pre.sh \
dbg-main.sh \
dbg-opts.sh \
dbg-trace.sh \
getopts_long.sh \
zterm-background.sh
# Set up the install target. Can't figure out how to use @PACKAGE@
bin_SCRIPTS = zshdb
MOSTLYCLEANFILES = *.orig *.rej
EXTRA_DIST = $(pkgdata_DATA) THANKS README.md NEWS.md make-check-filter.rb
#: Run all tests without bloated output
check-short:
$(MAKE) check 2>&1 | $(RUBY) make-check-filter.rb
#: Run all tests without and show just the failure lines
check-terse:
$(MAKE) check 2>&1 | $(RUBY) make-check-filter.rb | grep failure
#: Unit and Integration testing
test: check
#: Unit testing
check-unit: test-unit
test-unit:
cd test/unit && make check
#: Unit testing
check-unit-short: test-unit-short
test-unit-short:
@cd test/unit && make check | grep -v ^make
#: Integration testing
test-integration:
cd test/integration && make check
MAINTAINERCLEANFILES = ChangeLog
if MAINTAINER_MODE
#: Remove change log: ChangeLog
rmChangeLog:
rm ChangeLog || true
#: Create ChangeLog from version control
ChangeLog: rmChangeLog
git log --pretty --numstat --summary | $(GIT2CL) > $@
ACLOCAL_AMFLAGS=-I .
endif
.PHONY: test