-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
53 lines (42 loc) · 1.49 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
50
51
52
53
AM_CFLAGS = -Wall -O2
bin_PROGRAMS = jo
jo_SOURCES = jo.c json.c json.h base64.c base64.h
jo_EXTRA = jo.pandoc
dist_man_MANS = jo.1
jo_LDADD = -lm
if USE_PANDOC
# Add targets to rebuild pages
jo.1: jo.pandoc
@test -n "$(PANDOC)" || \
{ echo 'pandoc' not found during configure.; exit 1; }
$(PANDOC) -s -w man+simple_tables -o $@ $<
jo.md: jo.pandoc
@test -n "$(PANDOC)" || \
{ echo 'pandoc' not found during configure.; exit 1; }
$(PANDOC) -s -w markdown+simple_tables -o $@ $<
endif
# docdir = $(datadir)/doc/@PACKAGE@
# doc_DATA = README.md
# If on OS/X, fail if $COPYFILE_DISABLE is not in the environment
# so that tar doesn't bundle the AppleDouble attributes
dist-hook:
if test $$(uname -s) = "Darwin" -a "x$$COPYFILE_DISABLE" = "x"; then echo "Set COPYFILE_DISABLE before making dist" >&2; exit 2; fi
TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
$(top_srcdir)/build-aux/tap-driver.sh
TESTS = tests/jo.test
EXTRA_DIST = $(jo_EXTRA) \
$(TESTS) \
tests/jo.01.sh tests/jo.01.exp \
tests/jo.02.sh tests/jo.02.exp \
tests/jo.03.sh tests/jo.03.exp \
tests/jo.04.sh tests/jo.04.exp \
tests/jo.05.sh tests/jo.05.exp \
tests/jo.06.sh tests/jo.06.exp \
tests/jo.07.sh.in \
tests/jo.08.sh tests/jo.08.exp \
tests/jo.09.sh tests/jo.09.exp \
tests/jo.10.sh tests/jo.10.exp \
tests/jo.11.sh tests/jo.11.exp \
tests/jo.12.sh tests/jo.12.exp \
tests/jo.13.sh tests/jo.13.exp tests/jo-logo.png \
tests/jo.14.sh tests/jo.14.exp