1- # Copyright 2013-2025 The Khronos Group Inc.
1+ # Copyright 2013-2026 The Khronos Group Inc.
22# SPDX-License-Identifier: Apache-2.0
33
44# OpenCL Specifications Makefile
@@ -118,7 +118,7 @@ ADOCCOMMONOPTS = -a apispec="$(CURDIR)/api" \
118118 -a cspec="$(CURDIR ) /c" \
119119 -a images="$(CURDIR ) /images" \
120120 $(ATTRIBOPTS ) $(NOTEOPTS ) $(VERBOSE ) $(ADOCEXTS )
121- ADOCOPTS = --failure-level ERROR -d book $(ADOCCOMMONOPTS )
121+ ADOCOPTS = --failure-level WARNING -d book $(ADOCCOMMONOPTS )
122122
123123# Asciidoctor options to build refpages
124124#
@@ -173,16 +173,14 @@ $(OUTDIR)/katex/README.md: katex/README.md
173173 $(QUIET )$(RMRF ) $(OUTDIR ) /katex
174174 $(QUIET )$(CP ) -rf katex $(OUTDIR )
175175
176- all : api env ext extensions cxx c icdinst
176+ all : api env extensions cxx c icdinst
177177
178178allman : manhtmlpages
179179
180180api : apihtml apipdf
181181
182182env : envhtml envpdf
183183
184- ext : exthtml extpdf
185-
186184extensions : extensionshtml extensionspdf
187185
188186cxx : cxxhtml cxxpdf
@@ -193,13 +191,13 @@ c: chtml cpdf
193191
194192icdinst : icdinsthtml icdinstpdf
195193
196- html : apihtml envhtml exthtml extensionshtml cxxhtml chtml icdinsthtml
194+ html : apihtml envhtml extensionshtml cxxhtml chtml icdinsthtml
197195
198196# PDF optimizer - usage $(OPTIMIZEPDF) in.pdf out.pdf
199197# OPTIMIZEPDFOPTS=--compress-pages is slightly better, but much slower
200198OPTIMIZEPDF = hexapdf optimize $(OPTIMIZEPDFOPTS )
201199
202- pdf : apipdf envpdf extpdf extensionspdf cxxpdf cpdf icdinstpdf
200+ pdf : apipdf envpdf extensionspdf cxxpdf cpdf icdinstpdf
203201
204202# Spec targets.
205203# There is some complexity to try and avoid short virtual targets like
@@ -256,24 +254,6 @@ $(PDFDIR)/$(ENVSPEC).pdf: $(ENVSPECSRC)
256254 $(QUIET )$(ASCIIDOCTOR ) -b pdf $(ADOCOPTS ) $(ADOCPDFOPTS ) -o $@ $(ENVSPEC ) .txt
257255 $(QUIET )$(OPTIMIZEPDF ) $@ $@ .out.pdf && mv $@ .out.pdf $@
258256
259- # Extensions spec
260- EXTSPEC = OpenCL_Ext
261- EXTSPECSRC = $(EXTSPEC ) .txt $(GENDEPENDS ) \
262- $(shell scripts/find_adoc_deps $(EXTSPEC ) .txt $(GENERATED ) )
263-
264- exthtml : $(HTMLDIR ) /$(EXTSPEC ) .html $(EXTSPECSRC )
265-
266- $(HTMLDIR ) /$(EXTSPEC ) .html : $(EXTSPECSRC ) $(KATEXINST )
267- $(QUIET )$(ASCIIDOCTOR ) -b html5 $(ADOCOPTS ) $(ADOCHTMLOPTS ) -o $@ $(EXTSPEC ) .txt
268-
269- extpdf : $(PDFDIR ) /$(EXTSPEC ) .pdf $(EXTSPECSRC )
270-
271- $(PDFDIR ) /$(EXTSPEC ) .pdf : $(EXTSPECSRC )
272- $(QUIET )$(MKDIR ) $(PDFDIR )
273- $(QUIET )$(MKDIR ) $(PDFMATHDIR )
274- $(QUIET )$(ASCIIDOCTOR ) -b pdf $(ADOCOPTS ) $(ADOCPDFOPTS ) -o $@ $(EXTSPEC ) .txt
275- $(QUIET )$(OPTIMIZEPDF ) $@ $@ .out.pdf && mv $@ .out.pdf $@
276-
277257# Individual extensions spec(s)
278258EXTDIR = extensions
279259EXTENSIONSSPEC = extensions
0 commit comments