-
Notifications
You must be signed in to change notification settings - Fork 87
/
Copy pathMakefile.am
46 lines (34 loc) · 1.34 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
#
# @configure_input@
#
SUBDIRS = include src converters tools python
DIST_SUBDIRS = $(SUBDIRS)
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
srcdir = @srcdir@
VPATH = @srcdir@
# pkgconfig
pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = $(builddir)/libsixel.pc
CLEANFILES = $(builddir)/valgrind.log $(builddir)/test.log $(builddir)/unittest.log
all-am:
cp $(builddir)/package.json.in $(builddir)/package.json
check-am:
unittest: all
cd $(srcdir)/src && $(MAKE) unittest 2>&1 |tee $(builddir)/unittest.log
test: all
cd src && $(MAKE) unittest 2>&1 |tee $(builddir)/test.log
cd converters && $(MAKE) test 2>&1 |tee -a $(builddir)/test.log
winetest: all
cd converters && $(MAKE) winetest
valgrind: all
valgrind --leak-check=full --show-reachable=no --error-limit=no img2sixel images/snake.jpg -dfs 2>&1 \
| grep ^== \
| tee $(builddir)/valgrind.log
grep "All heap blocks were freed" $(builddir)/valgrind.log || \
grep "definitely lost: 0 bytes in 0 blocks" valgrind.log
grep "All heap blocks were freed" $(builddir)/valgrind.log || \
grep "indirectly lost: 0 bytes in 0 blocks" valgrind.log
coveralls:
coveralls -e config.h -e stb_image.h -e stb_image_write.h -e examples -e include -e perl -e php -e ruby -e wic
coveralls-dryrun: test
coveralls -e config.h -e stb_image.h -e stb_image_write.h -e examples -e include -e perl -e php -e ruby -e wic --dryrun