-
Notifications
You must be signed in to change notification settings - Fork 52
/
Makefile.am
52 lines (41 loc) · 902 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
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
SUBDIRS = \
src \
data \
etc \
docs \
m4macros \
tests
# tools want this on a single line
ACLOCAL_AMFLAGS = -I m4macros
AUTHORS: authors.xml authors.xsl
if HAVE_XSLTPROC
$(AM_V_GEN) $(XSLTPROC) authors.xsl $< > $(@) || rm -f $(@)
else
@echo "*** xsltproc is required to regenerate $(@) ***"; exit 1;
endif
validate-authors:
if HAVE_XMLLINT
@$(XMLLINT) --noout --path $(srcdir) --valid authors.xml || \
( echo "*** authors.xml IS INVALID ***"; exit 1; )
endif
all-local: AUTHORS
check-local: validate-authors
dist_doc_DATA = \
AUTHORS \
NEWS \
README
EXTRA_DIST = \
authors.dtd \
authors.xml \
authors.xsl \
autogen.sh \
tinyproxy-indent.sh \
TODO
test: all
./tests/scripts/run_tests.sh
test-wait:
TINYPROXY_TESTS_WAIT=yes $(MAKE) test
valgrind-test: all
./tests/scripts/run_tests_valgrind.sh
valgrind-test-wait:
TINYPROXY_TESTS_WAIT=yes $(MAKE) valgrind-test