forked from ddclient/ddclient
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
157 lines (148 loc) · 4.45 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
CONTRIBUTING.md \
COPYING \
COPYRIGHT \
ChangeLog.md \
README.cisco \
README.md \
README.ssl \
TODO \
UPGRADE \
autogen \
sample-ddclient-wrapper.sh \
sample-etc_cron.d_ddclient \
sample-etc_dhclient-exit-hooks \
sample-etc_dhcpc_dhcpcd-eth0.exe \
sample-etc_ppp_ip-up.local \
sample-etc_rc.d_ddclient.freebsd \
sample-etc_rc.d_init.d_ddclient \
sample-etc_rc.d_init.d_ddclient.alpine \
sample-etc_rc.d_init.d_ddclient.lsb \
sample-etc_rc.d_init.d_ddclient.redhat \
sample-etc_rc.d_init.d_ddclient.ubuntu \
sample-etc_systemd.service \
sample-get-ip-from-fritzbox
CLEANFILES =
# Command that replaces substitution variables with their values.
subst = sed \
-e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
-e '1 s|^\#\!.*perl$$|\#\!$(PERL)|g' \
-e 's|@localstatedir[@]|$(localstatedir)|g' \
-e 's|@runstatedir[@]|$(runstatedir)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
-e 's|@CURL[@]|$(CURL)|g'
# Files that will be generated by passing their *.in file through
# $(subst).
subst_files = ddclient ddclient.conf
EXTRA_DIST += $(subst_files:=.in)
CLEANFILES += $(subst_files)
$(subst_files): Makefile
rm -f '$@' '$@'.tmp
in='$@'.in; \
test -f "$${in}" || in='$(srcdir)/'$${in}; \
$(subst) "$${in}" >'$@'.tmp && \
{ ! test -x "$${in}" || chmod +x '$@'.tmp; }
mv '$@'.tmp '$@'
ddclient: $(srcdir)/ddclient.in
ddclient.conf: $(srcdir)/ddclient.conf.in
bin_SCRIPTS = ddclient
sysconf_DATA = ddclient.conf
install-data-local:
$(MKDIR_P) '$(DESTDIR)$(localstatedir)'/cache/ddclient
AM_TESTS_ENVIRONMENT = \
abs_top_srcdir='$(abs_top_srcdir)'; export abs_top_srcdir;
LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
$(top_srcdir)/build-aux/tap-driver.sh
TEST_EXTENSIONS = .pl
PL_LOG_DRIVER = $(LOG_DRIVER)
PL_LOG_COMPILER = $(PERL)
AM_PL_LOG_FLAGS = -Mstrict -w \
-I'$(abs_top_builddir)' \
-I'$(abs_top_srcdir)'/t/lib \
-MDevel::Autoflush
handwritten_tests = \
t/get_ip_from_if.pl \
t/geturl_ssl.pl \
t/is-and-extract-ipv4.pl \
t/is-and-extract-ipv6.pl \
t/is-and-extract-ipv6-global.pl \
t/parse_assignments.pl \
t/write_cache.pl
generated_tests = \
t/geturl_connectivity.pl \
t/version.pl
TESTS = $(handwritten_tests) $(generated_tests)
EXTRA_DIST += $(handwritten_tests) \
t/lib/Devel/Autoflush.pm \
t/lib/Test/Builder.pm \
t/lib/Test/Builder/Formatter.pm \
t/lib/Test/Builder/IO/Scalar.pm \
t/lib/Test/Builder/Module.pm \
t/lib/Test/Builder/Tester.pm \
t/lib/Test/Builder/Tester/Color.pm \
t/lib/Test/Builder/TodoDiag.pm \
t/lib/Test/More.pm \
t/lib/Test/Simple.pm \
t/lib/Test/Tester.pm \
t/lib/Test/Tester/Capture.pm \
t/lib/Test/Tester/CaptureRunner.pm \
t/lib/Test/Tester/Delegate.pm \
t/lib/Test/use/ok.pm \
t/lib/Test2.pm \
t/lib/Test2/API.pm \
t/lib/Test2/API/Breakage.pm \
t/lib/Test2/API/Context.pm \
t/lib/Test2/API/Instance.pm \
t/lib/Test2/API/Stack.pm \
t/lib/Test2/Event.pm \
t/lib/Test2/Event/Bail.pm \
t/lib/Test2/Event/Diag.pm \
t/lib/Test2/Event/Encoding.pm \
t/lib/Test2/Event/Exception.pm \
t/lib/Test2/Event/Fail.pm \
t/lib/Test2/Event/Generic.pm \
t/lib/Test2/Event/Note.pm \
t/lib/Test2/Event/Ok.pm \
t/lib/Test2/Event/Pass.pm \
t/lib/Test2/Event/Plan.pm \
t/lib/Test2/Event/Skip.pm \
t/lib/Test2/Event/Subtest.pm \
t/lib/Test2/Event/TAP/Version.pm \
t/lib/Test2/Event/V2.pm \
t/lib/Test2/Event/Waiting.pm \
t/lib/Test2/EventFacet.pm \
t/lib/Test2/EventFacet/About.pm \
t/lib/Test2/EventFacet/Amnesty.pm \
t/lib/Test2/EventFacet/Assert.pm \
t/lib/Test2/EventFacet/Control.pm \
t/lib/Test2/EventFacet/Error.pm \
t/lib/Test2/EventFacet/Hub.pm \
t/lib/Test2/EventFacet/Info.pm \
t/lib/Test2/EventFacet/Info/Table.pm \
t/lib/Test2/EventFacet/Meta.pm \
t/lib/Test2/EventFacet/Parent.pm \
t/lib/Test2/EventFacet/Plan.pm \
t/lib/Test2/EventFacet/Render.pm \
t/lib/Test2/EventFacet/Trace.pm \
t/lib/Test2/Formatter.pm \
t/lib/Test2/Formatter/TAP.pm \
t/lib/Test2/Hub.pm \
t/lib/Test2/Hub/Interceptor.pm \
t/lib/Test2/Hub/Interceptor/Terminator.pm \
t/lib/Test2/Hub/Subtest.pm \
t/lib/Test2/IPC.pm \
t/lib/Test2/IPC/Driver.pm \
t/lib/Test2/IPC/Driver/Files.pm \
t/lib/Test2/Tools/Tiny.pm \
t/lib/Test2/Util.pm \
t/lib/Test2/Util/ExternalMeta.pm \
t/lib/Test2/Util/Facets2Legacy.pm \
t/lib/Test2/Util/HashBase.pm \
t/lib/Test2/Util/Trace.pm \
t/lib/ddclient/Test/Fake/HTTPD.pm \
t/lib/ddclient/Test/Fake/HTTPD/dummy-ca-cert.pem \
t/lib/ddclient/Test/Fake/HTTPD/dummy-server-cert.pem \
t/lib/ddclient/Test/Fake/HTTPD/dummy-server-key.pem \
t/lib/ddclient/t.pm \
t/lib/ok.pm