2503683c701e7218b6b2e7fa6f682dc675d6c301
[proxmox-acme.git] / src / Makefile
1 PREFIX=/usr
2 ACMEDIR=${PREFIX}/share/proxmox-acme/
3 PERLDIR=${PREFIX}/share/perl5
4
5 ACME_SOURCES = \
6 dnsapi/dns_1984hosting.sh \
7 dnsapi/dns_acmedns.sh \
8 dnsapi/dns_acmeproxy.sh \
9 dnsapi/dns_active24.sh \
10 dnsapi/dns_ad.sh \
11 dnsapi/dns_ali.sh \
12 dnsapi/dns_anx.sh \
13 dnsapi/dns_arvan.sh \
14 dnsapi/dns_aurora.sh \
15 dnsapi/dns_autodns.sh \
16 dnsapi/dns_aws.sh \
17 dnsapi/dns_azion.sh \
18 dnsapi/dns_azure.sh \
19 dnsapi/dns_cf.sh \
20 dnsapi/dns_clouddns.sh \
21 dnsapi/dns_cloudns.sh \
22 dnsapi/dns_cn.sh \
23 dnsapi/dns_conoha.sh \
24 dnsapi/dns_constellix.sh \
25 dnsapi/dns_cx.sh \
26 dnsapi/dns_cyon.sh \
27 dnsapi/dns_da.sh \
28 dnsapi/dns_ddnss.sh \
29 dnsapi/dns_desec.sh \
30 dnsapi/dns_df.sh \
31 dnsapi/dns_dgon.sh \
32 dnsapi/dns_dnsimple.sh \
33 dnsapi/dns_do.sh \
34 dnsapi/dns_doapi.sh \
35 dnsapi/dns_domeneshop.sh \
36 dnsapi/dns_dp.sh \
37 dnsapi/dns_dpi.sh \
38 dnsapi/dns_dreamhost.sh \
39 dnsapi/dns_duckdns.sh \
40 dnsapi/dns_durabledns.sh \
41 dnsapi/dns_dyn.sh \
42 dnsapi/dns_dynu.sh \
43 dnsapi/dns_dynv6.sh \
44 dnsapi/dns_easydns.sh \
45 dnsapi/dns_edgedns.sh \
46 dnsapi/dns_euserv.sh \
47 dnsapi/dns_exoscale.sh \
48 dnsapi/dns_freedns.sh \
49 dnsapi/dns_gandi_livedns.sh \
50 dnsapi/dns_gcloud.sh \
51 dnsapi/dns_gd.sh \
52 dnsapi/dns_gdnsdk.sh \
53 dnsapi/dns_he.sh \
54 dnsapi/dns_hetzner.sh \
55 dnsapi/dns_hexonet.sh \
56 dnsapi/dns_hostingde.sh \
57 dnsapi/dns_huaweicloud.sh \
58 dnsapi/dns_infoblox.sh \
59 dnsapi/dns_infomaniak.sh \
60 dnsapi/dns_internetbs.sh \
61 dnsapi/dns_inwx.sh \
62 dnsapi/dns_ionos.sh \
63 dnsapi/dns_ispconfig.sh \
64 dnsapi/dns_jd.sh \
65 dnsapi/dns_joker.sh \
66 dnsapi/dns_kappernet.sh \
67 dnsapi/dns_kas.sh \
68 dnsapi/dns_kinghost.sh \
69 dnsapi/dns_knot.sh \
70 dnsapi/dns_leaseweb.sh \
71 dnsapi/dns_lexicon.sh \
72 dnsapi/dns_linode.sh \
73 dnsapi/dns_linode_v4.sh \
74 dnsapi/dns_loopia.sh \
75 dnsapi/dns_lua.sh \
76 dnsapi/dns_maradns.sh \
77 dnsapi/dns_me.sh \
78 dnsapi/dns_miab.sh \
79 dnsapi/dns_misaka.sh \
80 dnsapi/dns_myapi.sh \
81 dnsapi/dns_mydevil.sh \
82 dnsapi/dns_mydnsjp.sh \
83 dnsapi/dns_namecheap.sh \
84 dnsapi/dns_namecom.sh \
85 dnsapi/dns_namesilo.sh \
86 dnsapi/dns_nederhost.sh \
87 dnsapi/dns_neodigit.sh \
88 dnsapi/dns_netcup.sh \
89 dnsapi/dns_netlify.sh \
90 dnsapi/dns_nic.sh \
91 dnsapi/dns_njalla.sh \
92 dnsapi/dns_nm.sh \
93 dnsapi/dns_nsd.sh \
94 dnsapi/dns_nsone.sh \
95 dnsapi/dns_nsupdate.sh \
96 dnsapi/dns_nw.sh \
97 dnsapi/dns_oci.sh \
98 dnsapi/dns_one.sh \
99 dnsapi/dns_online.sh \
100 dnsapi/dns_openprovider.sh \
101 dnsapi/dns_openstack.sh \
102 dnsapi/dns_opnsense.sh \
103 dnsapi/dns_ovh.sh \
104 dnsapi/dns_pdns.sh \
105 dnsapi/dns_pleskxml.sh \
106 dnsapi/dns_pointhq.sh \
107 dnsapi/dns_porkbun.sh \
108 dnsapi/dns_rackcorp.sh \
109 dnsapi/dns_rackspace.sh \
110 dnsapi/dns_rcode0.sh \
111 dnsapi/dns_regru.sh \
112 dnsapi/dns_scaleway.sh \
113 dnsapi/dns_schlundtech.sh \
114 dnsapi/dns_selectel.sh \
115 dnsapi/dns_servercow.sh \
116 dnsapi/dns_simply.sh \
117 dnsapi/dns_tele3.sh \
118 dnsapi/dns_transip.sh \
119 dnsapi/dns_ultra.sh \
120 dnsapi/dns_unoeuro.sh \
121 dnsapi/dns_variomedia.sh \
122 dnsapi/dns_vscale.sh \
123 dnsapi/dns_vultr.sh \
124 dnsapi/dns_websupport.sh \
125 dnsapi/dns_world4you.sh \
126 dnsapi/dns_yandex.sh \
127 dnsapi/dns_zilore.sh \
128 dnsapi/dns_zone.sh \
129 dnsapi/dns_zonomi.sh \
130
131 LIB_SOURCES = \
132 ACME.pm \
133 ACME/Challenge.pm \
134 ACME/DNSChallenge.pm \
135 ACME/StandAlone.pm \
136
137 all:
138
139 .PHONY: install
140 install:
141 install -D -m 0744 proxmox-acme ${DESTDIR}${ACMEDIR}/proxmox-acme
142 install -D -m 0644 dns-challenge-schema.json ${DESTDIR}${ACMEDIR}/dns-challenge-schema.json
143 for f in ${ACME_SOURCES}; do install -D -m 0644 acme.sh/$$f ${DESTDIR}${ACMEDIR}/$$f; done
144 install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
145 install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/ACME
146 for f in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$f ${DESTDIR}${PERLDIR}/PVE/$$f; done
147
148 .PHONY: test
149 test:
150 $(MAKE) -C test test
151
152 .PHONY: clean
153 clean:
154 rm -rf *~
155
156 .PHONY: distclean
157 distclean: clean