-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
49 lines (33 loc) · 1.1 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
# Note: This makefile include remake-style target comments.
# These comments before the targets start with #:
# remake --tasks to shows the targets and the comments
SUBDIRS = ipdb test
GIT2CL ?= git2cl
RUBY ?= ruby
lispdir = @lispdir@
lisp_files = $(wildcard *.el)
lisp_LISP = $(lisp_files)
include common.mk
PHONY=check clean dist distclean test check-short check-terse install-short
EXTRA_DIST = common.mk.in README.md THANKS $(lisp_files)
if MAINTAINER_MODE
#: Remove change log: ChangeLog
rmChangeLog:
rm ChangeLog || true
#: Create a ChangeLog file from git logs
ChangeLog: rmChangeLog
git log --pretty --numstat --summary | $(GIT2CL) > $@
ACLOCAL_AMFLAGS=-I .
endif
#: Run all tests
test: check
#: Run all tests without bloated output
check-short:
$(MAKE) check 2>&1 | $(RUBY) test/make-check-filter.rb
#: Run all tests without and show just the failure lines
check-terse:
$(MAKE) check 2>&1 | $(RUBY) tes/make-check-filter.rb | grep failure
#: Run "make install" non-verbosely
install-short:
$(MAKE) install 2>&1 | $(RUBY) test/make-check-filter.rb
.PHONY: test check check-short rmChangeLog