1 Debian patch touch this file
-
Proposed improvements to the Khronos OpenCL man pages package
- Author
- Giuseppe Bilotta <[email protected]>
- Forwarded
- no
| 1 | # Copyright (c) 2013 The Khronos Group Inc. |
| 2 | # |
| 3 | # Permission is hereby granted, free of charge, to any person obtaining a |
| 4 | # copy of this software and/or associated documentation files (the |
| 5 | # "Materials"), to deal in the Materials without restriction, including |
| 6 | # without limitation the rights to use, copy, modify, merge, publish, |
| 7 | # distribute, sublicense, and/or sell copies of the Materials, and to |
| 8 | # permit persons to whom the Materials are furnished to do so, subject to |
| 9 | # the following conditions: |
| 10 | # |
| 11 | # The above copyright notice and this permission notice shall be included |
| 12 | # in all copies or substantial portions of the Materials. |
| 13 | # |
| 14 | # THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 15 | # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 16 | # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 17 | # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 18 | # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 19 | # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 20 | # MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. |
| 21 | |
| 22 | LDIRT := $(wildcard gl*.xml) |
| 23 | |
| 24 | COMMONPREF = standard |
| 25 | include $(ROOT)/usr/include/make/commondefs |
| 26 | |
| 27 | SUBDIRS = \ |
| •28 | xhtml \ |
| 29 | man \ |
| 30 | $(NULL) |
| 31 | |
| 32 | default $(ALLTARGS): $(_FORCE) |
| 33 | $(SUBDIRS_MAKERULE) |
| 34 | |
| 35 | distoss: |
| 36 | $(MAKE) $(COMMONPREF)$@ |
| 37 | $(SUBDIRS_MAKERULE) |
| 38 | |
| 39 | include $(COMMONRULES) |
| 40 | |
| 41 | XIFILES = baseformattable.xml \ |
| 42 | compressedformattable.xml \ |
| 43 | internalformattable.xml \ |
| 44 | texboformattable.xml \ |
| 45 | apifunchead.xml \ |
| 46 | apiversion.xml \ |
| 47 | funchead.xml \ |
| 48 | varhead.xml \ |
| 49 | version.xml |
| 50 | |
| 51 | # Docbook 5 Relax-NG with XInclude schema URLs and local filenames |
| 52 | DB5XIRNCURL = http://docbook.org/xml/5.0/rng/docbookxi.rnc |
| 53 | DB5XIRNC = /usr/share/xml/docbook/schema/rng/5.0/docbookxi.rnc |
| 54 | |
| 55 | XML = $(filter-out $(XIFILES),$(wildcard *.xml)) |
| 56 | validate: |
| 57 | jing -c $(DB5XIRNC) $(XML) |