forked from decaff/the_silver_searcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
25 lines (18 loc) · 834 Bytes
/
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
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
bin_PROGRAMS = ag
ag_SOURCES = src/ignore.c src/ignore.h src/log.c src/log.h src/options.c src/options.h src/print.c src/print.h src/scandir.c src/scandir.h src/search.c src/search.h src/lang.c src/lang.h src/util.c src/util.h src/decompress.c src/decompress.h src/uthash.h src/main.c src/ag_rc.c src/ag_rc.h src/mgi.h src/mgi.c
ag_LDADD = ${PCRE_LIBS} ${LZMA_LIBS} ${ZLIB_LIBS} $(PTHREAD_LIBS)
dist_man_MANS = doc/ag.1
bashcompdir = $(pkgdatadir)/completions
dist_bashcomp_DATA = ag.bashcomp.sh
EXTRA_DIST = LICENSE NOTICE the_silver_searcher.spec README.md
test: ag
cram -v tests/*.t
if HAS_CLANG_FORMAT
CLANG_FORMAT=${CLANG_FORMAT} ./format.sh test
else
@echo "clang-format is not available. Skipped clang-format test."
endif
test_big: ag
cram -v tests/big/*.t
.PHONY : all test clean