-
Notifications
You must be signed in to change notification settings - Fork 156
/
Makefile.am
77 lines (63 loc) · 2.28 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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
bashcompdir = @bashcompdir@
dist_bashcomp_DATA = jo.bash
zshcompdir = $(datadir)/zsh/site-functions
dist_zshcomp_DATA = jo.zsh
install-data-hook:
mv -f $(DESTDIR)$(zshcompdir)/jo.zsh $(DESTDIR)$(zshcompdir)/_jo
uninstall-local:
rm -f $(DESTDIR)$(zshcompdir)/_jo
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 -f markdown -o $@ $<
jo.md: jo.pandoc
@test -n "$(PANDOC)" || \
{ echo 'pandoc' not found during configure.; exit 1; }
$(PANDOC) -s -w gfm -f markdown-smart -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 \
tests/jo.15.sh tests/jo.15.exp \
tests/jo.16.sh tests/jo.16.exp \
tests/jo.17.sh tests/jo.17.exp tests/jo-creator.txt \
tests/jo.18.sh tests/jo.18.exp \
tests/jo.19.sh tests/jo.19.exp \
tests/jo.20.sh tests/jo.20.exp tests/jo-large1.json tests/jo-large2.json \
tests/jo.21.sh tests/jo.21.exp \
tests/jo.22.sh tests/jo.22.exp \
tests/jo.23.sh tests/jo.23.exp \
tests/jo.24.sh tests/jo.24.exp \
tests/jo.25.sh tests/jo.25.exp \
tests/jo.26.sh tests/jo.26.exp \
tests/jo.27.sh tests/jo.27.exp