annotate GNUmakefile @ 2980:c80a7cb452e8

Linux packages: actualized supported Alpine Linux versions.
author Konstantin Pavlov <thresh@nginx.com>
date Fri, 16 Jun 2023 18:53:11 -0700
parents 6fc4778fec28
children 0f53b5578e76
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
1
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
2 OUT = libxslt
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
3 TEXT = text
2846
fdf1464e1977 Moved banner to the external file to make partial rollout possible.
Sergey Budnevitch <sb@waeme.net>
parents: 2827
diff changeset
4 BANNER = banner
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
5 ZIP = gzip
6
8e9bd20faa47 - Hide some internal paths.
Ruslan Ermilov <ru@nginx.com>
parents: 2
diff changeset
6 NGINX_ORG = /data/www/nginx.org
146
356bcdeb008f * Fixed incorrect file permissions on file creation with an external shell wrapper.
Sergey Budnevitch <sb@waeme.net>
parents: 145
diff changeset
7 SHELL = ./umasked.sh
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
8
1084
be1d72ba7e5f Switched from java XSLScript to xslscript.pl.
Maxim Dounin <mdounin@mdounin.ru>
parents: 1078
diff changeset
9 XSLS ?= xslscript.pl
895
ac89a15d13b4 Removed vestiges of SVN.
Ruslan Ermilov <ru@nginx.com>
parents: 894
diff changeset
10 RSYNC = rsync -v -rpc
190
c52987a234e2 More tweaks to support operating under non-root.
Ruslan Ermilov <ru@nginx.com>
parents: 182
diff changeset
11 CHMOD = /bin/chmod -R g=u
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
12
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
13
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
14 define XSLScript
1084
be1d72ba7e5f Switched from java XSLScript to xslscript.pl.
Maxim Dounin <mdounin@mdounin.ru>
parents: 1078
diff changeset
15 $(XSLS) -o $(2) $(1)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
16 endef
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
17
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
18 define XSLT
124
73df20b5963c xmllint is now always run.
Ruslan Ermilov <ru@nginx.com>
parents: 100
diff changeset
19 xmllint --noout --valid $2
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
20 xsltproc -o $3 \
1295
8743a07a0b39 Makefile: simplified shell code.
Ruslan Ermilov <ru@nginx.com>
parents: 1286
diff changeset
21 $(shell ff="$(strip $2)"; f=$${ff#xml/*/}; \
706
cd0d1f0130db Fixed language switcher.
Ruslan Ermilov <ru@nginx.com>
parents: 693
diff changeset
22 if [ "$$f" != "$$ff" ]; then \
cd0d1f0130db Fixed language switcher.
Ruslan Ermilov <ru@nginx.com>
parents: 693
diff changeset
23 [ -f xml/en/$$f ] && echo --stringparam ORIGIN "en/$$f";\
cd0d1f0130db Fixed language switcher.
Ruslan Ermilov <ru@nginx.com>
parents: 693
diff changeset
24 t=; for l in $(LANGS); do \
cd0d1f0130db Fixed language switcher.
Ruslan Ermilov <ru@nginx.com>
parents: 693
diff changeset
25 [ -f "xml/$$l/$$f" ] && t="$$t$$l "; done; \
cd0d1f0130db Fixed language switcher.
Ruslan Ermilov <ru@nginx.com>
parents: 693
diff changeset
26 echo --stringparam TRANS "\"$$t\""; \
cd0d1f0130db Fixed language switcher.
Ruslan Ermilov <ru@nginx.com>
parents: 693
diff changeset
27 fi) \
1296
7b60ab795af8 Makefile: avoided the use of shell code.
Ruslan Ermilov <ru@nginx.com>
parents: 1295
diff changeset
28 $(if $4,--stringparam $4 $5) \
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
29 $1 $2
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
30 endef
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
31
1
b633fc3525eb - Cleaned up GNUmakefile somewhat.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
32 define JPEGNORM
b633fc3525eb - Cleaned up GNUmakefile somewhat.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
33 jpegtopnm $1 \
b633fc3525eb - Cleaned up GNUmakefile somewhat.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
34 | pamscale -width=150 \
b633fc3525eb - Cleaned up GNUmakefile somewhat.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
35 | pnmtojpeg -quality=95 -optimize -dct=float \
b633fc3525eb - Cleaned up GNUmakefile somewhat.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
36 > $2
b633fc3525eb - Cleaned up GNUmakefile somewhat.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
37 endef
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
38
30
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
39
603
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
40 COMMON_DEPS = \
30
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
41 xml/menu.xml \
569
f9207a33992f Added missing dependency on i18n.xml.
Ruslan Ermilov <ru@nginx.com>
parents: 558
diff changeset
42 xml/i18n.xml \
30
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
43 dtd/content.dtd \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
44 xslt/dirname.xslt \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
45 xslt/link.xslt \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
46 xslt/style.xslt \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
47 xslt/body.xslt \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
48 xslt/menu.xslt \
2846
fdf1464e1977 Moved banner to the external file to make partial rollout possible.
Sergey Budnevitch <sb@waeme.net>
parents: 2827
diff changeset
49 xslt/banner.xslt \
603
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
50 xslt/content.xslt \
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
51
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
52 ARTICLE_DEPS = \
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
53 $(COMMON_DEPS) \
721
81ad082bc837 Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents: 706
diff changeset
54 xml/versions.xml \
603
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
55 dtd/article.dtd \
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
56 dtd/module.dtd \
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
57 xslt/article.xslt \
721
81ad082bc837 Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents: 706
diff changeset
58 xslt/books.xslt \
81ad082bc837 Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents: 706
diff changeset
59 xslt/directive.xslt \
603
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
60 xslt/donate.xslt \
721
81ad082bc837 Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents: 706
diff changeset
61 xslt/download.xslt \
81ad082bc837 Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents: 706
diff changeset
62 xslt/security.xslt \
603
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
63 xslt/versions.xslt \
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
64
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
65 NEWS_DEPS = \
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
66 $(COMMON_DEPS) \
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
67 dtd/news.dtd \
e0544f2c4a70 Simplified maintenance of dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
68 xslt/news.xslt \
30
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
69
1333
21089e4b021b Excluded alternative languages from building.
Maxim Konovalov <maxim@nginx.com>
parents: 1309
diff changeset
70 LANGS = en ru
60
092d8068f845 Reduced number of lines by using the foreach function.
Ruslan Ermilov <ru@nginx.com>
parents: 55
diff changeset
71
2711
aa837ec44acf Year 2021.
Sergey Kandaurov <pluknet@nginx.com>
parents: 2479
diff changeset
72 YEARS = \
aa837ec44acf Year 2021.
Sergey Kandaurov <pluknet@nginx.com>
parents: 2479
diff changeset
73 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 \
2930
6fc4778fec28 Year 2023.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2875
diff changeset
74 2020 2021 2022
800
015981070efd Simplified the new year maintenance.
Ruslan Ermilov <ru@nginx.com>
parents: 743
diff changeset
75
60
092d8068f845 Reduced number of lines by using the foreach function.
Ruslan Ermilov <ru@nginx.com>
parents: 55
diff changeset
76 all: news arx 404 $(LANGS)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
77
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
78 news: $(OUT)/index.html $(OUT)/index.rss
800
015981070efd Simplified the new year maintenance.
Ruslan Ermilov <ru@nginx.com>
parents: 743
diff changeset
79 arx: $(foreach year,$(YEARS),$(OUT)/$(year).html)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
80 404: $(OUT)/404.html
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
81
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
82
736
9f2953d854fd Fixed language switcher in dirindex.html files by making them depend
Ruslan Ermilov <ru@nginx.com>
parents: 734
diff changeset
83 DIRIND_DEPS =
1156
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
84 VARIND_DEPS =
736
9f2953d854fd Fixed language switcher in dirindex.html files by making them depend
Ruslan Ermilov <ru@nginx.com>
parents: 734
diff changeset
85
734
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
86 define lang-specific
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
87
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
88 TOP=
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
89 DOCS=
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
90 REFS=
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
91 FAQ=
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
92 include xml/$(lang)/GNUmakefile
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
93
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
94 $(lang): \
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
95 $$(foreach f,index $$(TOP),$(OUT)/$(lang)/$$(f).html) \
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
96 $$(foreach f,index $$(DOCS) $$(REFS) $$(FAQ), \
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
97 $(OUT)/$(lang)/docs/$$(f).html)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
98
734
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
99 $(OUT)/$(lang)/docs/index.html: \
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
100 $$(foreach f,$$(DOCS) $$(REFS), \
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
101 $(OUT)/$(lang)/docs/$$(f).html)
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
102
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
103 $(OUT)/$(lang)/docs/faq.html: \
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
104 $$(foreach f,$$(FAQ),$(OUT)/$(lang)/docs/$$(f).html)
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
105
736
9f2953d854fd Fixed language switcher in dirindex.html files by making them depend
Ruslan Ermilov <ru@nginx.com>
parents: 734
diff changeset
106 ifneq (,$$(filter dirindex,$$(DOCS)))
9f2953d854fd Fixed language switcher in dirindex.html files by making them depend
Ruslan Ermilov <ru@nginx.com>
parents: 734
diff changeset
107 DIRIND_DEPS += xml/$(lang)/docs/dirindex.xml
734
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
108 xml/$(lang)/docs/dirindex.xml: \
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
109 $$(foreach f,$$(REFS),xml/$(lang)/docs/$$(f).xml) \
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
110 xslt/dirindex.xslt
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
111 echo "<modules>$$(patsubst %, \
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
112 <module name=\"%\"/>, $$(filter %.xml,$$^))</modules>" | \
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
113 xsltproc -o - --stringparam LANG $(lang) \
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
114 xslt/dirindex.xslt - | \
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
115 sed 's;xml/[^/]*/docs/;;g' > $$@
736
9f2953d854fd Fixed language switcher in dirindex.html files by making them depend
Ruslan Ermilov <ru@nginx.com>
parents: 734
diff changeset
116 endif
734
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
117
1156
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
118 ifneq (,$$(filter varindex,$$(DOCS)))
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
119 VARIND_DEPS += xml/$(lang)/docs/varindex.xml
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
120 xml/$(lang)/docs/varindex.xml: \
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
121 $$(foreach f,$$(REFS),xml/$(lang)/docs/$$(f).xml) \
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
122 xslt/varindex.xslt
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
123 echo "<modules>$$(patsubst %, \
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
124 <module name=\"%\"/>, $$(filter %.xml,$$^))</modules>" | \
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
125 xsltproc -o - --stringparam LANG $(lang) \
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
126 xslt/varindex.xslt - | \
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
127 sed 's;xml/[^/]*/docs/;;g' > $$@
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
128 endif
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
129
734
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
130 endef
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
131
99ea52dbb4d4 Moved all rules to the main makefile leaving language specific
Ruslan Ermilov <ru@nginx.com>
parents: 730
diff changeset
132 $(foreach lang, $(LANGS), $(eval $(call lang-specific)))
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
133
736
9f2953d854fd Fixed language switcher in dirindex.html files by making them depend
Ruslan Ermilov <ru@nginx.com>
parents: 734
diff changeset
134 $(foreach lang, $(LANGS), $(OUT)/$(lang)/docs/dirindex.html): $(DIRIND_DEPS)
9f2953d854fd Fixed language switcher in dirindex.html files by making them depend
Ruslan Ermilov <ru@nginx.com>
parents: 734
diff changeset
135
1156
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
136 $(foreach lang, $(LANGS), $(OUT)/$(lang)/docs/varindex.html): $(VARIND_DEPS)
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
137
30
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
138 $(OUT)/index.html: \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
139 xml/index.xml \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
140 $(NEWS_DEPS)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
141 $(call XSLT, xslt/news.xslt, $<, $@)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
142
30
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
143 $(OUT)/index.rss: \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
144 xml/index.xml \
31
dc74e3a8f324 Fixing the previous commit.
Igor Sysoev <igor@sysoev.ru>
parents: 30
diff changeset
145 $(NEWS_DEPS) \
dc74e3a8f324 Fixing the previous commit.
Igor Sysoev <igor@sysoev.ru>
parents: 30
diff changeset
146 xslt/rss.xslt
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
147 $(call XSLT, xslt/rss.xslt, $<, $@)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
148
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
149
800
015981070efd Simplified the new year maintenance.
Ruslan Ermilov <ru@nginx.com>
parents: 743
diff changeset
150 $(foreach year,$(YEARS),$(OUT)/$(year).html): \
30
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
151 xml/index.xml \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
152 $(NEWS_DEPS)
1296
7b60ab795af8 Makefile: avoided the use of shell code.
Ruslan Ermilov <ru@nginx.com>
parents: 1295
diff changeset
153 $(call XSLT, xslt/news.xslt, $<, $@, YEAR, $(basename $(notdir $@)))
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
154
30
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
155 $(OUT)/404.html: \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 29
diff changeset
156 xml/404.xml \
1309
59f7fb43e39c Design: used generic layout for error pages.
Valentin Bartenev <vbart@nginx.com>
parents: 1296
diff changeset
157 $(COMMON_DEPS) \
721
81ad082bc837 Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents: 706
diff changeset
158 dtd/error.dtd \
1309
59f7fb43e39c Design: used generic layout for error pages.
Valentin Bartenev <vbart@nginx.com>
parents: 1296
diff changeset
159 xslt/error.xslt
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
160 $(call XSLT, xslt/error.xslt, $<, $@)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
161
75
2bf4cd2787c5 Added DTDs to make xmllint happy.
Maxim Dounin <mdounin@mdounin.ru>
parents: 60
diff changeset
162 $(OUT)/%.html: xml/%.xml \
55
8213f3f1c93d Updated DTD for modules and made modules documentation to be
Ruslan Ermilov <ru@nginx.com>
parents: 49
diff changeset
163 $(ARTICLE_DEPS)
8213f3f1c93d Updated DTD for modules and made modules documentation to be
Ruslan Ermilov <ru@nginx.com>
parents: 49
diff changeset
164 $(call XSLT, xslt/article.xslt, $<, $@)
8213f3f1c93d Updated DTD for modules and made modules documentation to be
Ruslan Ermilov <ru@nginx.com>
parents: 49
diff changeset
165
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
166
428
fc2bd185dc02 Listed .xslt files explicitly as targets so they never get considered
Ruslan Ermilov <ru@nginx.com>
parents: 425
diff changeset
167 # Prevent intermediate .xslt files from being removed.
fc2bd185dc02 Listed .xslt files explicitly as targets so they never get considered
Ruslan Ermilov <ru@nginx.com>
parents: 425
diff changeset
168 $(patsubst xsls/%.xsls,xslt/%.xslt,$(wildcard xsls/*.xsls)):
fc2bd185dc02 Listed .xslt files explicitly as targets so they never get considered
Ruslan Ermilov <ru@nginx.com>
parents: 425
diff changeset
169
1084
be1d72ba7e5f Switched from java XSLScript to xslscript.pl.
Maxim Dounin <mdounin@mdounin.ru>
parents: 1078
diff changeset
170 xslt/%.xslt: xsls/%.xsls
48
28acb1a609cb The "xslt" directory is now created on demand.
Ruslan Ermilov <ru@nginx.com>
parents: 47
diff changeset
171 mkdir -p $(dir $@)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
172 $(call XSLScript, $<, $@)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
173
2028
5c55b7054b58 Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents: 2000
diff changeset
174
2054
f99bf8ef5813 Fixed "genapi" dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 2050
diff changeset
175 genapi:
f99bf8ef5813 Fixed "genapi" dependencies.
Ruslan Ermilov <ru@nginx.com>
parents: 2050
diff changeset
176 $(MAKE) -C yaml
2028
5c55b7054b58 Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents: 2000
diff changeset
177
5c55b7054b58 Updated docs for the upcoming NGINX Plus release.
Ruslan Ermilov <ru@nginx.com>
parents: 2000
diff changeset
178
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
179 images: \
2299
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
180 binary/books/complete_nginx_cookbook_2019.jpg \
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
181 binary/books/deploying_nginx_as_api_gateway.jpg \
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
182 binary/books/high_performance_caching.jpg \
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
183 binary/books/loadbalancing_cloud.jpg \
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
184 binary/books/f5_to_nginx_migration.jpg \
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
185 binary/books/cisco_ace_to_nginx.jpg \
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
186 binary/books/modsec3_and_nginx.jpg \
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
187 binary/books/nginx_cookbook.jpg \
2050
ace0ddbb2513 Added "Nginx Cookbook", "Nginx HTTP Server 3rd edition" to books.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2034
diff changeset
188 binary/books/nginx_http_server_3rd_ed.jpg \
1821
4639fa9d7e0a Alex Kapranoff's book added.
Igor Sysoev <igor@sysoev.ru>
parents: 1820
diff changeset
189 binary/books/nginx_troubleshooting.jpg \
1793
4f21e33e96fd German book added.
Igor Sysoev <igor@sysoev.ru>
parents: 1689
diff changeset
190 binary/books/nginx_richtig_konfigurieren.jpg \
1658
ae713f8acaca Two Japanese books.
Igor Sysoev <igor@sysoev.ru>
parents: 1635
diff changeset
191 binary/books/practical_nginx_guide_jp.jpg \
ae713f8acaca Two Japanese books.
Igor Sysoev <igor@sysoev.ru>
parents: 1635
diff changeset
192 binary/books/nginx_pocket_reference_jp.jpg \
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
193 binary/books/nginx_http_server_jp.jpg \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
194 binary/books/nginx_1_web_server.jpg \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
195 binary/books/nginx_http_server.jpg \
863
2dd85d82e4d5 "Mastering Nginx" book added.
Maxim Konovalov <maxim@nginx.com>
parents: 805
diff changeset
196 binary/books/nginx_in_practice.jpg \
963
2116a99dc304 "Nginx HTTP Server - Second Edition" book added.
Valentin Bartenev <vbart@nginx.com>
parents: 895
diff changeset
197 binary/books/mastering_nginx.jpg \
1006
570598ae1fd6 "Instant Nginx starter" book added.
Vladimir Homutov <vl@nginx.com>
parents: 963
diff changeset
198 binary/books/nginx_http_server_2nd_ed.jpg \
1109
28c05aa07b5f "Nginx Module Extension" book added.
Maxim Konovalov <maxim@nginx.com>
parents: 1084
diff changeset
199 binary/books/instant_nginx_starter.jpg \
1565
300349b7aef3 Added new books about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1389
diff changeset
200 binary/books/nginx_module_extension.jpg \
300349b7aef3 Added new books about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1389
diff changeset
201 binary/books/nginx_high_performance.jpg \
2165
e4e6a7a6b22f Added new book about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2144
diff changeset
202 binary/books/nginx_essentials.jpg \
e4e6a7a6b22f Added new book about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2144
diff changeset
203 binary/books/nginx_http_server_4th_ed.jpg
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
204
2299
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
205 binary/books/complete_nginx_cookbook_2019.jpg: \
2301
4ec80aaee871 Replaced ebook covers.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2299
diff changeset
206 sources/ebk-ORM-NGINX-Cookbook-mega-2019-150x185.jpg
2299
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
207 mkdir -p $(dir $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
208 $(call JPEGNORM, $<, $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
209
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
210 binary/books/deploying_nginx_as_api_gateway.jpg: \
2301
4ec80aaee871 Replaced ebook covers.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2299
diff changeset
211 sources/ebk-Deploying-NGINX-Plus-as-API-Gateway-150x185.jpg
2299
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
212 mkdir -p $(dir $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
213 $(call JPEGNORM, $<, $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
214
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
215 binary/books/high_performance_caching.jpg: \
2301
4ec80aaee871 Replaced ebook covers.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2299
diff changeset
216 sources/ebk-High-Performance-Caching-150x185.jpg
2299
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
217 mkdir -p $(dir $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
218 $(call JPEGNORM, $<, $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
219
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
220 binary/books/loadbalancing_cloud.jpg: \
2301
4ec80aaee871 Replaced ebook covers.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2299
diff changeset
221 sources/ebk-ORM-Load-Balancing-in-the-Cloud-150x185.jpg
2299
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
222 mkdir -p $(dir $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
223 $(call JPEGNORM, $<, $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
224
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
225 binary/books/f5_to_nginx_migration.jpg: \
2301
4ec80aaee871 Replaced ebook covers.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2299
diff changeset
226 sources/ebk-F5-BIG-IP-to-NGINX-Plus-150x185.jpg
2299
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
227 mkdir -p $(dir $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
228 $(call JPEGNORM, $<, $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
229
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
230 binary/books/cisco_ace_to_nginx.jpg: \
2301
4ec80aaee871 Replaced ebook covers.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2299
diff changeset
231 sources/ebk-Cisco-ACE-to-NGINX-150x185.jpg
2299
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
232 mkdir -p $(dir $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
233 $(call JPEGNORM, $<, $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
234
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
235 binary/books/modsec3_and_nginx.jpg: \
2301
4ec80aaee871 Replaced ebook covers.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2299
diff changeset
236 sources/ebk-ModSecurity-3.0-and-NGINX-150x185.jpg
2299
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
237 mkdir -p $(dir $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
238 $(call JPEGNORM, $<, $@)
486ea60817dc Added ebooks from nginx.com.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2165
diff changeset
239
2050
ace0ddbb2513 Added "Nginx Cookbook", "Nginx HTTP Server 3rd edition" to books.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2034
diff changeset
240 binary/books/nginx_cookbook.jpg: sources/B05431_0.jpg
ace0ddbb2513 Added "Nginx Cookbook", "Nginx HTTP Server 3rd edition" to books.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2034
diff changeset
241 mkdir -p $(dir $@)
ace0ddbb2513 Added "Nginx Cookbook", "Nginx HTTP Server 3rd edition" to books.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2034
diff changeset
242 $(call JPEGNORM, $<, $@)
ace0ddbb2513 Added "Nginx Cookbook", "Nginx HTTP Server 3rd edition" to books.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2034
diff changeset
243
ace0ddbb2513 Added "Nginx Cookbook", "Nginx HTTP Server 3rd edition" to books.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2034
diff changeset
244 binary/books/nginx_http_server_3rd_ed.jpg: \
ace0ddbb2513 Added "Nginx Cookbook", "Nginx HTTP Server 3rd edition" to books.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2034
diff changeset
245 sources/0337OS_4846_Nginx.jpg
ace0ddbb2513 Added "Nginx Cookbook", "Nginx HTTP Server 3rd edition" to books.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2034
diff changeset
246 mkdir -p $(dir $@)
ace0ddbb2513 Added "Nginx Cookbook", "Nginx HTTP Server 3rd edition" to books.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2034
diff changeset
247 $(call JPEGNORM, $<, $@)
ace0ddbb2513 Added "Nginx Cookbook", "Nginx HTTP Server 3rd edition" to books.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2034
diff changeset
248
1821
4639fa9d7e0a Alex Kapranoff's book added.
Igor Sysoev <igor@sysoev.ru>
parents: 1820
diff changeset
249 binary/books/nginx_troubleshooting.jpg: \
4639fa9d7e0a Alex Kapranoff's book added.
Igor Sysoev <igor@sysoev.ru>
parents: 1820
diff changeset
250 sources/51T7ds6JdBL._SX404_BO1,204,203,200_.jpg
4639fa9d7e0a Alex Kapranoff's book added.
Igor Sysoev <igor@sysoev.ru>
parents: 1820
diff changeset
251 mkdir -p $(dir $@)
4639fa9d7e0a Alex Kapranoff's book added.
Igor Sysoev <igor@sysoev.ru>
parents: 1820
diff changeset
252 $(call JPEGNORM, $<, $@)
4639fa9d7e0a Alex Kapranoff's book added.
Igor Sysoev <igor@sysoev.ru>
parents: 1820
diff changeset
253
1793
4f21e33e96fd German book added.
Igor Sysoev <igor@sysoev.ru>
parents: 1689
diff changeset
254 binary/books/nginx_richtig_konfigurieren.jpg: sources/5106%2B0b2pbL.jpg
4f21e33e96fd German book added.
Igor Sysoev <igor@sysoev.ru>
parents: 1689
diff changeset
255 mkdir -p $(dir $@)
4f21e33e96fd German book added.
Igor Sysoev <igor@sysoev.ru>
parents: 1689
diff changeset
256 $(call JPEGNORM, $<, $@)
4f21e33e96fd German book added.
Igor Sysoev <igor@sysoev.ru>
parents: 1689
diff changeset
257
1658
ae713f8acaca Two Japanese books.
Igor Sysoev <igor@sysoev.ru>
parents: 1635
diff changeset
258 binary/books/practical_nginx_guide_jp.jpg: sources/9784774178660.jpg
ae713f8acaca Two Japanese books.
Igor Sysoev <igor@sysoev.ru>
parents: 1635
diff changeset
259 mkdir -p $(dir $@)
ae713f8acaca Two Japanese books.
Igor Sysoev <igor@sysoev.ru>
parents: 1635
diff changeset
260 $(call JPEGNORM, $<, $@)
ae713f8acaca Two Japanese books.
Igor Sysoev <igor@sysoev.ru>
parents: 1635
diff changeset
261
ae713f8acaca Two Japanese books.
Igor Sysoev <igor@sysoev.ru>
parents: 1635
diff changeset
262 binary/books/nginx_pocket_reference_jp.jpg: \
ae713f8acaca Two Japanese books.
Igor Sysoev <igor@sysoev.ru>
parents: 1635
diff changeset
263 sources/51JYTdy8jrL._SX335_BO1,204,203,200_.jpg
ae713f8acaca Two Japanese books.
Igor Sysoev <igor@sysoev.ru>
parents: 1635
diff changeset
264 mkdir -p $(dir $@)
ae713f8acaca Two Japanese books.
Igor Sysoev <igor@sysoev.ru>
parents: 1635
diff changeset
265 $(call JPEGNORM, $<, $@)
ae713f8acaca Two Japanese books.
Igor Sysoev <igor@sysoev.ru>
parents: 1635
diff changeset
266
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
267 binary/books/nginx_http_server_jp.jpg: sources/1106030720.jpg
8
39768562fc89 - Use sed(1) instead of perl(1) for whitespace stripping.
Ruslan Ermilov <ru@nginx.com>
parents: 6
diff changeset
268 mkdir -p $(dir $@)
1
b633fc3525eb - Cleaned up GNUmakefile somewhat.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
269 $(call JPEGNORM, $<, $@)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
270
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
271 binary/books/nginx_1_web_server.jpg: \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
272 sources/Nginx\ 1\ Web\ Server\ Implementation\ Cookbook.jpg
8
39768562fc89 - Use sed(1) instead of perl(1) for whitespace stripping.
Ruslan Ermilov <ru@nginx.com>
parents: 6
diff changeset
273 mkdir -p $(dir $@)
1
b633fc3525eb - Cleaned up GNUmakefile somewhat.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
274 $(call JPEGNORM, "$<", $@)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
275
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
276 binary/books/nginx_http_server.jpg: sources/0868OS_MockupCover.jpg
8
39768562fc89 - Use sed(1) instead of perl(1) for whitespace stripping.
Ruslan Ermilov <ru@nginx.com>
parents: 6
diff changeset
277 mkdir -p $(dir $@)
1
b633fc3525eb - Cleaned up GNUmakefile somewhat.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
278 $(call JPEGNORM, $<, $@)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
279
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
280 binary/books/nginx_in_practice.jpg: sources/20807089-1_o.jpg
8
39768562fc89 - Use sed(1) instead of perl(1) for whitespace stripping.
Ruslan Ermilov <ru@nginx.com>
parents: 6
diff changeset
281 mkdir -p $(dir $@)
1
b633fc3525eb - Cleaned up GNUmakefile somewhat.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
282 $(call JPEGNORM, $<, $@)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
283
1917
c0c79991342b "Mastering NGINX" book replaced by its second edition.
Maxim Konovalov <maxim@nginx.com>
parents: 1882
diff changeset
284 binary/books/mastering_nginx.jpg: sources/3311OS_4851_Mastering\ NGINX_0.jpg
863
2dd85d82e4d5 "Mastering Nginx" book added.
Maxim Konovalov <maxim@nginx.com>
parents: 805
diff changeset
285 mkdir -p $(dir $@)
1917
c0c79991342b "Mastering NGINX" book replaced by its second edition.
Maxim Konovalov <maxim@nginx.com>
parents: 1882
diff changeset
286 $(call JPEGNORM, "$<", $@)
863
2dd85d82e4d5 "Mastering Nginx" book added.
Maxim Konovalov <maxim@nginx.com>
parents: 805
diff changeset
287
963
2116a99dc304 "Nginx HTTP Server - Second Edition" book added.
Valentin Bartenev <vbart@nginx.com>
parents: 895
diff changeset
288 binary/books/nginx_http_server_2nd_ed.jpg: sources/2322OS_cov.jpg
2116a99dc304 "Nginx HTTP Server - Second Edition" book added.
Valentin Bartenev <vbart@nginx.com>
parents: 895
diff changeset
289 mkdir -p $(dir $@)
2116a99dc304 "Nginx HTTP Server - Second Edition" book added.
Valentin Bartenev <vbart@nginx.com>
parents: 895
diff changeset
290 $(call JPEGNORM, $<, $@)
2116a99dc304 "Nginx HTTP Server - Second Edition" book added.
Valentin Bartenev <vbart@nginx.com>
parents: 895
diff changeset
291
1006
570598ae1fd6 "Instant Nginx starter" book added.
Vladimir Homutov <vl@nginx.com>
parents: 963
diff changeset
292 binary/books/instant_nginx_starter.jpg: sources/5125OS_cov.jpg
570598ae1fd6 "Instant Nginx starter" book added.
Vladimir Homutov <vl@nginx.com>
parents: 963
diff changeset
293 mkdir -p $(dir $@)
570598ae1fd6 "Instant Nginx starter" book added.
Vladimir Homutov <vl@nginx.com>
parents: 963
diff changeset
294 $(call JPEGNORM, $<, $@)
570598ae1fd6 "Instant Nginx starter" book added.
Vladimir Homutov <vl@nginx.com>
parents: 963
diff changeset
295
1109
28c05aa07b5f "Nginx Module Extension" book added.
Maxim Konovalov <maxim@nginx.com>
parents: 1084
diff changeset
296 binary/books/nginx_module_extension.jpg: sources/3046OS_cover.jpg
28c05aa07b5f "Nginx Module Extension" book added.
Maxim Konovalov <maxim@nginx.com>
parents: 1084
diff changeset
297 mkdir -p $(dir $@)
28c05aa07b5f "Nginx Module Extension" book added.
Maxim Konovalov <maxim@nginx.com>
parents: 1084
diff changeset
298 $(call JPEGNORM, $<, $@)
28c05aa07b5f "Nginx Module Extension" book added.
Maxim Konovalov <maxim@nginx.com>
parents: 1084
diff changeset
299
1565
300349b7aef3 Added new books about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1389
diff changeset
300 binary/books/nginx_high_performance.jpg: sources/1839OS.jpg
300349b7aef3 Added new books about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1389
diff changeset
301 mkdir -p $(dir $@)
300349b7aef3 Added new books about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1389
diff changeset
302 $(call JPEGNORM, $<, $@)
300349b7aef3 Added new books about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1389
diff changeset
303
300349b7aef3 Added new books about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1389
diff changeset
304 binary/books/nginx_essentials.jpg: sources/B04282_MockupCover_Normal.jpg
300349b7aef3 Added new books about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1389
diff changeset
305 mkdir -p $(dir $@)
300349b7aef3 Added new books about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1389
diff changeset
306 $(call JPEGNORM, $<, $@)
300349b7aef3 Added new books about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1389
diff changeset
307
2165
e4e6a7a6b22f Added new book about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2144
diff changeset
308 binary/books/nginx_http_server_4th_ed.jpg: sources/9781788623551.jpg
e4e6a7a6b22f Added new book about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2144
diff changeset
309 mkdir -p $(dir $@)
e4e6a7a6b22f Added new book about nginx.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2144
diff changeset
310 $(call JPEGNORM, $<, $@)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
311
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
312 .PHONY: gzip
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
313 gzip: rsync_gzip
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
314 $(MAKE) do_gzip
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
315
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
316 rsync_gzip:
2846
fdf1464e1977 Moved banner to the external file to make partial rollout possible.
Sergey Budnevitch <sb@waeme.net>
parents: 2827
diff changeset
317 $(CHMOD) $(OUT) $(TEXT) $(BANNER)
fdf1464e1977 Moved banner to the external file to make partial rollout possible.
Sergey Budnevitch <sb@waeme.net>
parents: 2827
diff changeset
318 $(RSYNC) --delete --exclude='*.gz' $(OUT)/ $(TEXT)/ $(BANNER) $(ZIP)/
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
319
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
320 do_gzip: $(addsuffix .gz, $(wildcard $(ZIP)/*.html)) \
60
092d8068f845 Reduced number of lines by using the foreach function.
Ruslan Ermilov <ru@nginx.com>
parents: 55
diff changeset
321 $(addsuffix .gz, \
092d8068f845 Reduced number of lines by using the foreach function.
Ruslan Ermilov <ru@nginx.com>
parents: 55
diff changeset
322 $(foreach lang, $(LANGS), \
2144
51ce1baf7b67 Gzip everything again.
Ruslan Ermilov <ru@nginx.com>
parents: 2098
diff changeset
323 $(foreach dir, . docs docs/dev docs/faq docs/http docs/mail docs/njs docs/stream, \
60
092d8068f845 Reduced number of lines by using the foreach function.
Ruslan Ermilov <ru@nginx.com>
parents: 55
diff changeset
324 $(wildcard $(ZIP)/$(lang)/$(dir)/*.html)))) \
2846
fdf1464e1977 Moved banner to the external file to make partial rollout possible.
Sergey Budnevitch <sb@waeme.net>
parents: 2827
diff changeset
325 $(addsuffix .gz, $(wildcard $(ZIP)/$(BANNER)/*.html)) \
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
326 $(ZIP)/index.rss.gz \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
327 $(ZIP)/LICENSE.gz \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
328 $(ZIP)/en/CHANGES.gz \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
329 $(addsuffix .gz, $(wildcard $(ZIP)/en/CHANGES-?.?)) \
1820
3819d59088d9 Added CHANGES-1.10 to gzip target, missed in 7d15391ce323.
Maxim Dounin <mdounin@mdounin.ru>
parents: 1793
diff changeset
330 $(addsuffix .gz, $(wildcard $(ZIP)/en/CHANGES-?.??)) \
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
331 $(ZIP)/ru/CHANGES.ru.gz \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
332 $(addsuffix .gz, $(wildcard $(ZIP)/ru/CHANGES.ru-?.?)) \
1820
3819d59088d9 Added CHANGES-1.10 to gzip target, missed in 7d15391ce323.
Maxim Dounin <mdounin@mdounin.ru>
parents: 1793
diff changeset
333 $(addsuffix .gz, $(wildcard $(ZIP)/ru/CHANGES.ru-?.??)) \
284
7e464158471f Gzip public PGP keys.
Ruslan Ermilov <ru@nginx.com>
parents: 283
diff changeset
334 $(addsuffix .gz, $(wildcard $(ZIP)/keys/*.key)) \
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
335
136
8437e7f55c4d Steps towards keeping site clean from deleted stuff.
Ruslan Ermilov <ru@nginx.com>
parents: 124
diff changeset
336 find $(ZIP) -type f ! -name '*.gz' -exec test \! -e {}.gz \; -print
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
337
136
8437e7f55c4d Steps towards keeping site clean from deleted stuff.
Ruslan Ermilov <ru@nginx.com>
parents: 124
diff changeset
338 find $(ZIP) -type f -name '*.gz' | \
182
d87e97c0a3e4 *) binary target to rsync binaries;
Igor Sysoev <igor@sysoev.ru>
parents: 146
diff changeset
339 while read f ; do test -e "$${f%.gz}" || rm -fv "$$f" ; done
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
340
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
341 $(ZIP)/%.gz: $(ZIP)/%
6
8e9bd20faa47 - Hide some internal paths.
Ruslan Ermilov <ru@nginx.com>
parents: 2
diff changeset
342 rm -f $<.gz
8e9bd20faa47 - Hide some internal paths.
Ruslan Ermilov <ru@nginx.com>
parents: 2
diff changeset
343 gzip -9cn $< > $<.gz
8e9bd20faa47 - Hide some internal paths.
Ruslan Ermilov <ru@nginx.com>
parents: 2
diff changeset
344 touch -r $< $<.gz
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
345
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
346 draft: all
190
c52987a234e2 More tweaks to support operating under non-root.
Ruslan Ermilov <ru@nginx.com>
parents: 182
diff changeset
347 $(CHMOD) $(OUT)
136
8437e7f55c4d Steps towards keeping site clean from deleted stuff.
Ruslan Ermilov <ru@nginx.com>
parents: 124
diff changeset
348 $(RSYNC) --delete $(OUT)/ $(NGINX_ORG)/$(OUT)/
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
349
182
d87e97c0a3e4 *) binary target to rsync binaries;
Igor Sysoev <igor@sysoev.ru>
parents: 146
diff changeset
350 .PHONY: binary
d87e97c0a3e4 *) binary target to rsync binaries;
Igor Sysoev <igor@sysoev.ru>
parents: 146
diff changeset
351 binary:
190
c52987a234e2 More tweaks to support operating under non-root.
Ruslan Ermilov <ru@nginx.com>
parents: 182
diff changeset
352 $(CHMOD) binary
182
d87e97c0a3e4 *) binary target to rsync binaries;
Igor Sysoev <igor@sysoev.ru>
parents: 146
diff changeset
353 $(RSYNC) binary/ $(NGINX_ORG)/
d87e97c0a3e4 *) binary target to rsync binaries;
Igor Sysoev <igor@sysoev.ru>
parents: 146
diff changeset
354
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
355 copy:
190
c52987a234e2 More tweaks to support operating under non-root.
Ruslan Ermilov <ru@nginx.com>
parents: 182
diff changeset
356 $(CHMOD) $(ZIP) binary
136
8437e7f55c4d Steps towards keeping site clean from deleted stuff.
Ruslan Ermilov <ru@nginx.com>
parents: 124
diff changeset
357 $(RSYNC) $(ZIP)/ binary/ $(NGINX_ORG)/
182
d87e97c0a3e4 *) binary target to rsync binaries;
Igor Sysoev <igor@sysoev.ru>
parents: 146
diff changeset
358 $(RSYNC) --delete $(foreach lang, $(LANGS), $(ZIP)/$(lang)) \
d87e97c0a3e4 *) binary target to rsync binaries;
Igor Sysoev <igor@sysoev.ru>
parents: 146
diff changeset
359 $(NGINX_ORG)/
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
360
596
19c9bd574db0 Replaced development.xslt, stable.xslt and legacy_stable.xslt with
Ruslan Ermilov <ru@nginx.com>
parents: 584
diff changeset
361 dev: xslt/version.xslt sign
19c9bd574db0 Replaced development.xslt, stable.xslt and legacy_stable.xslt with
Ruslan Ermilov <ru@nginx.com>
parents: 584
diff changeset
362 dev: NGINX:=$(shell xsltproc xslt/version.xslt xml/versions.xml)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
363
596
19c9bd574db0 Replaced development.xslt, stable.xslt and legacy_stable.xslt with
Ruslan Ermilov <ru@nginx.com>
parents: 584
diff changeset
364 stable: xslt/version.xslt sign
19c9bd574db0 Replaced development.xslt, stable.xslt and legacy_stable.xslt with
Ruslan Ermilov <ru@nginx.com>
parents: 584
diff changeset
365 stable: NGINX:=$(shell xsltproc --stringparam VERSION stable \
19c9bd574db0 Replaced development.xslt, stable.xslt and legacy_stable.xslt with
Ruslan Ermilov <ru@nginx.com>
parents: 584
diff changeset
366 xslt/version.xslt xml/versions.xml)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
367
596
19c9bd574db0 Replaced development.xslt, stable.xslt and legacy_stable.xslt with
Ruslan Ermilov <ru@nginx.com>
parents: 584
diff changeset
368 legacy: xslt/version.xslt sign
727
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
369 legacy: NGINX:=$(shell xsltproc --stringparam VERSION legacy \
596
19c9bd574db0 Replaced development.xslt, stable.xslt and legacy_stable.xslt with
Ruslan Ermilov <ru@nginx.com>
parents: 584
diff changeset
370 xslt/version.xslt xml/versions.xml)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
371
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
372 any: sign
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
373 any: NGINX=0.7.69
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
374
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
375
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
376 sign:
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
377 @echo sign nginx-$(NGINX)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
378
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
379 gpg -sab binary/download/nginx-$(NGINX).tar.gz
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
380 gpg -sab binary/download/nginx-$(NGINX).zip
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
381
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
382
1159
166fd33afad1 Extended dir.map with links to variables.
Ruslan Ermilov <ru@nginx.com>
parents: 1156
diff changeset
383 dir.map: xslt/dirmap.xslt xml/en/docs/dirindex.xml \
166fd33afad1 Extended dir.map with links to variables.
Ruslan Ermilov <ru@nginx.com>
parents: 1156
diff changeset
384 xml/en/docs/varindex.xml
166fd33afad1 Extended dir.map with links to variables.
Ruslan Ermilov <ru@nginx.com>
parents: 1156
diff changeset
385 @xsltproc -o - xslt/dirmap.xslt xml/en/docs/dirindex.xml \
1200
333eccb8a7f6 Moved dir.map postprocessing into template.
Maxim Dounin <mdounin@mdounin.ru>
parents: 1197
diff changeset
386 xml/en/docs/varindex.xml > $@
432
fbba1f292dc9 Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents: 428
diff changeset
387
1286
c102344a0fa0 Fixed dir.map generation on ns.nginx.com.
Sergey Budnevitch <sb@waeme.net>
parents: 1200
diff changeset
388 ifeq ($(patsubst %.nginx.com,YES,$(shell hostname)), YES)
1689
b04c41175177 Automatically update images when making a real site.
Ruslan Ermilov <ru@nginx.com>
parents: 1660
diff changeset
389 all: images
2000
814895f3fb24 Skip dirmap operations if $(NGINX_ORG) is customized.
Ruslan Ermilov <ru@nginx.com>
parents: 1917
diff changeset
390
814895f3fb24 Skip dirmap operations if $(NGINX_ORG) is customized.
Ruslan Ermilov <ru@nginx.com>
parents: 1917
diff changeset
391 ifeq ($(NGINX_ORG), /data/www/nginx.org)
432
fbba1f292dc9 Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents: 428
diff changeset
392 all: dir.map
434
644869149f36 Added commands to install the generated dir.map on a website.
Ruslan Ermilov <ru@nginx.com>
parents: 432
diff changeset
393 copy: copy_dirmap
644869149f36 Added commands to install the generated dir.map on a website.
Ruslan Ermilov <ru@nginx.com>
parents: 432
diff changeset
394 .PHONY: copy_dirmap
644869149f36 Added commands to install the generated dir.map on a website.
Ruslan Ermilov <ru@nginx.com>
parents: 432
diff changeset
395 copy_dirmap:
1605
40f079598467 Makefile: Pass target to dir.map copying script.
Konstantin Pavlov <thresh@nginx.com>
parents: 1565
diff changeset
396 /usr/local/bin/copy_dirmap.sh dir.map $(NGINX_ORG)
2000
814895f3fb24 Skip dirmap operations if $(NGINX_ORG) is customized.
Ruslan Ermilov <ru@nginx.com>
parents: 1917
diff changeset
397 endif
1660
03715a31e037 Fixed make draft when using mirrors.
Konstantin Pavlov <thresh@nginx.com>
parents: 1658
diff changeset
398
03715a31e037 Fixed make draft when using mirrors.
Konstantin Pavlov <thresh@nginx.com>
parents: 1658
diff changeset
399 draft: copy_draft
03715a31e037 Fixed make draft when using mirrors.
Konstantin Pavlov <thresh@nginx.com>
parents: 1658
diff changeset
400 .PHONY: copy_draft
03715a31e037 Fixed make draft when using mirrors.
Konstantin Pavlov <thresh@nginx.com>
parents: 1658
diff changeset
401 copy_draft:
03715a31e037 Fixed make draft when using mirrors.
Konstantin Pavlov <thresh@nginx.com>
parents: 1658
diff changeset
402 /usr/local/bin/copy_draft.sh $(NGINX_ORG)
432
fbba1f292dc9 Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents: 428
diff changeset
403 endif
fbba1f292dc9 Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents: 428
diff changeset
404
737
46bb8caea2ab Added the "clean" target.
Ruslan Ermilov <ru@nginx.com>
parents: 736
diff changeset
405 clean:
1156
8e8a6a7cff2b Added variables index.
Vladimir Homutov <vl@nginx.com>
parents: 1109
diff changeset
406 rm -rf $(ZIP) $(OUT) xml/*/docs/dirindex.xml dir.map \
2034
7e7edf832099 Added the generated ngx_http_api_module and separate target for it.
Vladimir Homutov <vl@nginx.com>
parents: 2028
diff changeset
407 xml/*/docs/varindex.xml
737
46bb8caea2ab Added the "clean" target.
Ruslan Ermilov <ru@nginx.com>
parents: 736
diff changeset
408
8
39768562fc89 - Use sed(1) instead of perl(1) for whitespace stripping.
Ruslan Ermilov <ru@nginx.com>
parents: 6
diff changeset
409 .DELETE_ON_ERROR: