xref: /minix/external/bsd/dhcp/dist/doc/Makefile (revision 83ee113e)
1# Copyright (c) 2004-2006,2009 by Internet Systems Consortium, Inc. ("ISC")
2# Copyright (c) 1995-2003 by Internet Software Consortium
3#
4# Permission to use, copy, modify, and distribute this software for any
5# purpose with or without fee is hereby granted, provided that the above
6# copyright notice and this permission notice appear in all copies.
7#
8# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
9# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10# MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR
11# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
14# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15#
16#   Internet Systems Consortium, Inc.
17#   950 Charter Street
18#   Redwood City, CA 94063
19#   <info@isc.org>
20#   https://www.isc.org/
21
22all: References.txt References.html
23
24References.txt: References.xml
25	xml2txt References.xml
26
27References.html: References.xml
28	xml2html References.xml
29
30devel:
31	mkdir -p html
32	doxygen devel/doxyfile > html/doxygen.log 2>html/doxygen-warnings.log
33
34cppcheck:
35	mkdir -p html
36	cd .. && cppcheck --enable=all --inline-suppr \
37          -f -v -j 2  -i tests/ -i dhcp-*/ \
38          . 1> doc/html/cppcheck.log 2> doc/html/cppcheck-error.log
39
40#       cppcheck can be extended with list of suppressions.
41#          --suppressions-list=doc/cppcheck-skip.txt \
42
43
44.PHONY: devel cppcheck