-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathMakefile
58 lines (46 loc) · 1.91 KB
/
Makefile
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
# Makefile for WWW subdirectory.
STABLE_VERSION= 7.6
PREV_VERSION= 7.5
# also update mirrors/openbgpd-ftp.html.head
OPENBGPD_VERSION= 8.7
# also update mirrors/openntpd-ftp.html.head
OPENNTPD_PORTABLE_VERSION= 6.8p1
# also update mirrors/rpki-client-portable.html.head
RPKI_CLIENT_PORTABLE_VERSION= 9.4
OPENSSH_VERSION= 9.9
OPENSSH_PORTABLE_VERSION= 9.9p1
all: ../groups.html ../support.html ../ftp.html
# Build the user groups page.
../groups.html: groups.dat groups.awk groups.skel Makefile mkcountries
sh mkcountries groups.dat > groups.countries
awk -f groups.awk groups.dat > groups-tbl.html
m4 groups.skel > ../groups.html
@rm -f groups-tbl.html groups.countries
# Build the support/consultants page.
../support.html: support.dat support.awk support.skel Makefile mkcountries
sh mkcountries support.dat > support.countries
awk -f support.awk support.dat > support-tbl.html
m4 support.skel > ../support.html
@rm -f support-tbl.html support.countries
# Build the FTP/HTTP/RSYNC mirrors page.
../ftp.html ftp: Makefile mirrors.pl mirrors.dat \
mirrors/ftp.html.{head,end,mid0,mid1,mid2} \
mirrors/openbgpd-ftp.html.{head,end} \
mirrors/openntpd-portable.html.{head,end} \
mirrors/openssh-ftp.html.{head,end} \
mirrors/openssh-portable.html.{head,end,mid1} \
mirrors/rpki-client-portable.html.{head,end}
perl mirrors.pl openbsd-ftp ${STABLE_VERSION}
perl mirrors.pl openbgpd-ftp ${OPENBGPD_VERSION}
perl mirrors.pl openntpd-portable ${OPENNTPD_PORTABLE_VERSION}
perl mirrors.pl rpki-client-portable ${RPKI_CLIENT_PORTABLE_VERSION}
perl mirrors.pl openssh-ftp ${OPENSSH_VERSION}
perl mirrors.pl openssh-portable ${OPENSSH_PORTABLE_VERSION}
perl mirrors.pl ftplist ${STABLE_VERSION}
anoncvs: mirrors.pl mirrors.dat mirrors/anoncvs.html.{end,head}
perl mirrors.pl anoncvs ${STABLE_VERSION}
clean:
rm -f *.countries
version:
sh versionup ${STABLE_VERSION} ${PREV_VERSION}
make anoncvs ftp