]> code.delx.au - gnu-emacs-elpa/blob - packages/realgud/Makefile.am
Add 'packages/realgud/' from commit 'd811316e6a0f4eeee8a1347f504c196c86baa2cb'
[gnu-emacs-elpa] / packages / realgud / Makefile.am
1 # Note: This makefile include remake-style target comments.
2 # These comments before the targets start with #:
3 # remake --tasks to shows the targets and the comments
4
5 SUBDIRS = realgud test
6
7 GIT2CL ?= git2cl
8 RUBY ?= ruby
9
10 lispdir = @lispdir@
11
12 include common.mk
13
14 PHONY=check clean dist distclean test check-short check-terse install-short
15
16 EXTRA_DIST+=common.mk README.md THANKS
17
18 if MAINTAINER_MODE
19
20 #: Remove change log: ChangeLog
21 rmChangeLog:
22 rm ChangeLog || true
23
24 #: Create a ChangeLog file from git logs
25 ChangeLog: rmChangeLog
26 git log --pretty --numstat --summary | $(GIT2CL) > $@
27
28 ACLOCAL_AMFLAGS=-I .
29
30 endif
31
32 #: Run all tests
33 test: check
34
35 #: Run all tests without bloated output
36 check-short:
37 $(MAKE) check 2>&1 | $(RUBY) make-check-filter.rb
38
39 #: Run all tests without and show just the failure lines
40 check-terse:
41 $(MAKE) check 2>&1 | $(RUBY) make-check-filter.rb | grep failure
42
43 #: Run "make install"
44 install-short:
45 $(MAKE) install 2>&1 | $(RUBY) make-check-filter.rb
46
47 .PHONY: test check check-short rmChangeLog