Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 1 | # Copyright (c) 2016 Comcast Cable Communications Management, LLC. |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at: |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | # |
| 16 | # Build the documentation |
| 17 | # |
| 18 | |
Chris Luke | 90f52bf | 2016-09-12 08:55:13 -0400 | [diff] [blame] | 19 | # Default target |
| 20 | .PHONY: all |
| 21 | all: doxygen |
| 22 | |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 23 | # These should be passed in by the root Makefile |
| 24 | WS_ROOT ?= $(CURDIR)/.. |
| 25 | BR ?= $(WS_ROOT)/build-root |
Chris Luke | 36d2506 | 2016-09-22 20:52:26 -0400 | [diff] [blame] | 26 | |
| 27 | # We support MacOS for docs generation |
| 28 | ifeq ($(shell uname),Darwin) |
| 29 | OS_ID = darwin |
| 30 | endif |
| 31 | |
| 32 | # Work out the OS if we haven't already |
Chris Luke | e0d802b | 2016-08-31 10:04:58 -0400 | [diff] [blame] | 33 | OS_ID ?= $(shell grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g') |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 34 | |
| 35 | # Package dependencies |
Damjan Marion | 6bbf83a | 2017-01-10 10:39:21 +0100 | [diff] [blame] | 36 | DOC_DEB_DEPENDS = doxygen graphviz python-pyparsing python-jinja2 |
| 37 | DOC_RPM_DEPENDS = doxygen graphviz pyparsing python-jinja2 |
Chris Luke | 36d2506 | 2016-09-22 20:52:26 -0400 | [diff] [blame] | 38 | DOC_MAC_BIN_DEPENDS = doxygen dot git |
| 39 | DOC_MAC_PY_DEPENDS = pyparsing jinja2 |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 40 | |
| 41 | # Doxygen configuration and our utility scripts |
| 42 | DOXY_DIR ?= $(WS_ROOT)/doxygen |
| 43 | |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 44 | # Primary source directories |
Chris Luke | fdc62ab | 2016-12-28 09:44:47 -0500 | [diff] [blame] | 45 | DOXY_SRC ?= src |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 46 | DOXY_SRC_DIRECTORIES = \ |
Chris Luke | fdc62ab | 2016-12-28 09:44:47 -0500 | [diff] [blame] | 47 | $(DOXY_SRC)/vppinfra \ |
| 48 | $(DOXY_SRC)/svm \ |
| 49 | $(DOXY_SRC)/vlib \ |
| 50 | $(DOXY_SRC)/vlibapi \ |
| 51 | $(DOXY_SRC)/vlibmemory \ |
| 52 | $(DOXY_SRC)/vlibsocket \ |
| 53 | $(DOXY_SRC)/vnet \ |
| 54 | $(DOXY_SRC)/vpp \ |
Damjan Marion | cb034b9 | 2016-12-28 18:38:59 +0100 | [diff] [blame] | 55 | $(DOXY_SRC)/vpp-api |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 56 | |
| 57 | # Input directories and files |
| 58 | DOXY_INPUT ?= \ |
Chris Luke | 5ccbaa9 | 2016-09-14 12:42:54 -0400 | [diff] [blame] | 59 | $(wildcard $(WS_ROOT)/*.md) \ |
| 60 | $(wildcard $(DOXY_DIR)/*.md) \ |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 61 | $(DOXY_SRC_DIRECTORIES) \ |
Chris Luke | fdc62ab | 2016-12-28 09:44:47 -0500 | [diff] [blame] | 62 | $(DOXY_SRC)/plugins \ |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 63 | plugins |
| 64 | |
Chris Luke | 5ccbaa9 | 2016-09-14 12:42:54 -0400 | [diff] [blame] | 65 | # Strip leading workspace path from input names |
| 66 | DOXY_INPUT := $(subst $(WS_ROOT)/,,$(DOXY_INPUT)) |
| 67 | |
Chris Luke | d4024f5 | 2016-09-06 09:32:36 -0400 | [diff] [blame] | 68 | # Files to exclude, from pre-Doxygen steps, eg because they're |
| 69 | # selectively compiled. |
| 70 | # Examples would be to exclude non-DPDK related sources when |
| 71 | # there's a DPDK equivalent that conflicts. |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 72 | # These must be left-anchored paths for the regexp below to work. |
| 73 | DOXY_EXCLUDE ?= \ |
Chris Luke | fdc62ab | 2016-12-28 09:44:47 -0500 | [diff] [blame] | 74 | $(DOXY_SRC)/vlib/vlib/buffer.c \ |
| 75 | $(DOXY_SRC)/vlib/example \ |
Damjan Marion | cb034b9 | 2016-12-28 18:38:59 +0100 | [diff] [blame] | 76 | $(DOXY_SRC)/vpp-api/lua \ |
| 77 | plugins/sample-plugin |
Chris Luke | d4024f5 | 2016-09-06 09:32:36 -0400 | [diff] [blame] | 78 | |
| 79 | # Generate a regexp for filenames to exclude |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 80 | DOXY_EXCLUDE_REGEXP = ($(subst .,\.,$(shell echo '$(strip $(DOXY_EXCLUDE))' | sed -e 's/ /|/g'))) |
Chris Luke | d4024f5 | 2016-09-06 09:32:36 -0400 | [diff] [blame] | 81 | |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 82 | # Include all the normal source directories in the include file path |
| 83 | DOXY_INCLUDE_PATH = $(DOXY_SRC_DIRECTORIES) |
| 84 | |
| 85 | # Also include any plugin directories that exist |
| 86 | DOXY_INCLUDE_PATH += \ |
| 87 | $(shell find $(WS_ROOT)/plugins -maxdepth 1 -type d | sed -e 's@^$(WS_ROOT)/*@@') |
| 88 | |
| 89 | # Find API header directories and include them in the header path. |
| 90 | # This is only useful if VPP and plugins are already built; nothing |
| 91 | # here depends on those targets. We don't build documentation for these |
| 92 | # header files, they're just added to the INCLUDE search path for Doxygen. |
| 93 | _vpp_br = $(shell find "$(BR)" -maxdepth 1 -type d \ |
| 94 | '(' -name build-vpp_debug-native -o -name build-vpp-native ')' -print \ |
| 95 | | sed -e 's@^$(WS_ROOT)/*@@' -e 1q) |
| 96 | ifneq ($(strip $(_vpp_br)),) |
| 97 | DOXY_INCLUDE_PATH += \ |
| 98 | $(_vpp_br)/vlib-api \ |
| 99 | $(_vpp_br)/vpp |
| 100 | # Also include any plugin directories that exist |
| 101 | DOXY_INCLUDE_PATH += \ |
| 102 | $(shell find $(WS_ROOT)/$(_vpp_br)/plugins -maxdepth 1 -type d | sed -e 's@^$(WS_ROOT)/*@@') |
| 103 | endif |
Chris Luke | d4024f5 | 2016-09-06 09:32:36 -0400 | [diff] [blame] | 104 | |
| 105 | # Discover if we have CPP available |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 106 | _cpp = $(shell which cpp) |
| 107 | ifneq ($(strip $(_cpp)),) |
| 108 | # Add whatever directories CPP normally includes to the header path |
| 109 | DOXY_INCLUDE_PATH += $(shell set -e; $(_cpp) -v </dev/null 2>&1 | awk 'f&&/^ /{print $$1} /^\#include/{f=1}') |
Chris Luke | d4024f5 | 2016-09-06 09:32:36 -0400 | [diff] [blame] | 110 | endif |
Chris Luke | 16bcf7d | 2016-09-01 14:31:46 -0400 | [diff] [blame] | 111 | |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 112 | # Target directory for doxygen output |
| 113 | DOXY_OUTPUT ?= $(BR)/docs |
| 114 | |
| 115 | # Siphoned fragments end up in here |
| 116 | SIPHON_INPUT ?= $(DOXY_OUTPUT)/siphon_fragments |
| 117 | |
| 118 | # Siphoned fragements are processed into here |
| 119 | SIPHON_OUTPUT ?= $(DOXY_OUTPUT)/siphon_docs |
| 120 | |
| 121 | # Extra document inputs that are processed in addition to DOXY_INPUT |
| 122 | EXTRA_DOXY_INPUT += $(SIPHON_OUTPUT) |
| 123 | |
| 124 | # All the siphon types we know about |
Chris Luke | 90f52bf | 2016-09-12 08:55:13 -0400 | [diff] [blame] | 125 | SIPHONS ?= clicmd syscfg |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 126 | |
| 127 | SIPHON_FILES = $(addprefix $(SIPHON_INPUT)/,$(addsuffix .siphon,$(SIPHONS))) |
| 128 | SIPHON_DOCS = $(addprefix $(SIPHON_OUTPUT)/,$(addsuffix .md,$(SIPHONS))) |
Chris Luke | c3f92ad | 2016-10-05 15:45:19 -0400 | [diff] [blame] | 129 | SIPHON_ITEMLIST = $(addprefix $(SIPHON_OUTPUT)/,$(addsuffix .itemlist,$(filter clicmd,$(SIPHONS)))) |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 130 | |
Chris Luke | 90f52bf | 2016-09-12 08:55:13 -0400 | [diff] [blame] | 131 | $(BR)/.doxygen-bootstrap.ok: Makefile |
Damjan Marion | 6bbf83a | 2017-01-10 10:39:21 +0100 | [diff] [blame] | 132 | @echo "Checking whether dependencies for Doxygen are installed..." |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 133 | ifeq ($(OS_ID),ubuntu) |
Damjan Marion | 6bbf83a | 2017-01-10 10:39:21 +0100 | [diff] [blame] | 134 | @set -e; inst=; \ |
| 135 | for i in $(DOC_DEB_DEPENDS); do \ |
| 136 | dpkg-query --show $$i >/dev/null 2>&1 || inst="$$inst $$i"; \ |
| 137 | done; \ |
| 138 | if [ "$$inst" ]; then \ |
| 139 | sudo apt-get update; \ |
| 140 | sudo apt-get $(CONFIRM) $(FORCE) install $$inst; \ |
| 141 | fi |
Chris Luke | 3542514 | 2016-09-09 20:16:04 -0400 | [diff] [blame] | 142 | @if [ ! -s /usr/lib/graphviz/config6a ]; then \ |
Damjan Marion | 6bbf83a | 2017-01-10 10:39:21 +0100 | [diff] [blame] | 143 | echo "Rebuidlding system Graphviz configuration."; \ |
Chris Luke | c87fa6d | 2016-09-09 17:51:42 -0400 | [diff] [blame] | 144 | sudo dot -c; \ |
| 145 | fi |
Damjan Marion | 6bbf83a | 2017-01-10 10:39:21 +0100 | [diff] [blame] | 146 | else ifneq ("$(wildcard /etc/redhat-release)","") |
| 147 | @sudo yum install $(CONFIRM) $(DOC_RPM_DEPENDS) |
Chris Luke | 36d2506 | 2016-09-22 20:52:26 -0400 | [diff] [blame] | 148 | else ifeq ($(OS_ID),darwin) |
| 149 | @set -e; \ |
| 150 | for bin in $(DOC_MAC_BIN_DEPENDS); do \ |
| 151 | which -s $${bin} || (\ |
| 152 | echo "Program '$${bin}' not found, please install it."; \ |
| 153 | false; \ |
| 154 | ); \ |
| 155 | done |
| 156 | @set -e; \ |
| 157 | for py in $(DOC_MAC_PY_DEPENDS); do \ |
| 158 | python -c "import $${py}" >/dev/null 2>&1 || (\ |
| 159 | echo "Python package '$${py}' not found, please install it."; \ |
| 160 | false; \ |
| 161 | ); \ |
| 162 | done |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 163 | else |
Chris Luke | 36d2506 | 2016-09-22 20:52:26 -0400 | [diff] [blame] | 164 | $(error "Building documentation currently works only on Ubuntu, CentOS or MacOS systems.") |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 165 | endif |
| 166 | @touch $@ |
| 167 | |
| 168 | .PHONY: bootstrap-doxygen |
| 169 | bootstrap-doxygen: $(BR)/.doxygen-bootstrap.ok |
| 170 | |
| 171 | .DELETE_ON_ERROR: $(BR)/.doxygen-siphon.dep |
Chris Luke | fdc62ab | 2016-12-28 09:44:47 -0500 | [diff] [blame] | 172 | $(BR)/.doxygen-siphon.dep: Makefile \ |
| 173 | $(addprefix,$(WSROOT),$(DOXY_INPUT)) |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 174 | @echo "Building siphon dependencies..." |
Chris Luke | fdc62ab | 2016-12-28 09:44:47 -0500 | [diff] [blame] | 175 | @rm -f "$@"; for input in $(DOXY_INPUT); do \ |
| 176 | [ -e "$(WS_ROOT)/$$input" ] && \ |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 177 | find "$(WS_ROOT)/$$input" -type f \ |
Chris Luke | d4024f5 | 2016-09-06 09:32:36 -0400 | [diff] [blame] | 178 | \( -name '*.[ch]' -or -name '*.dox' \) -print \ |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 179 | | grep -v -E '^$(WS_ROOT)/$(DOXY_EXCLUDE_REGEXP)' \ |
Chris Luke | d4024f5 | 2016-09-06 09:32:36 -0400 | [diff] [blame] | 180 | | sed -e "s/^/\$$(SIPHON_FILES): /" \ |
| 181 | >> $@; \ |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 182 | done |
| 183 | |
| 184 | # Include the source -> siphon dependencies |
| 185 | -include $(BR)/.doxygen-siphon.dep |
| 186 | |
Chris Luke | 90f52bf | 2016-09-12 08:55:13 -0400 | [diff] [blame] | 187 | # Generate .siphon files that contain fragments of source file that |
| 188 | # relate to the siphons we support. |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 189 | .NOTPARALLEL: $(SIPHON_FILES) |
Damjan Marion | 6bbf83a | 2017-01-10 10:39:21 +0100 | [diff] [blame] | 190 | $(SIPHON_FILES): $(BR)/.doxygen-bootstrap.ok \ |
| 191 | $(DOXY_DIR)/siphon-generate \ |
Chris Luke | fdc62ab | 2016-12-28 09:44:47 -0500 | [diff] [blame] | 192 | $(addprefix,$(WSROOT),$(DOXY_INPUT)) \ |
Chris Luke | 90f52bf | 2016-09-12 08:55:13 -0400 | [diff] [blame] | 193 | $(wildcard $(DOXY_DIR)/siphon/*.py) |
Chris Luke | fdc62ab | 2016-12-28 09:44:47 -0500 | [diff] [blame] | 194 | @echo "Validating source tree..." |
| 195 | @set -e; for input in $(DOXY_INPUT); do \ |
| 196 | if [ ! -e "$(WS_ROOT)/$$input" ]; then \ |
| 197 | echo "ERROR: Input path '$$input' does not exist." >&2; \ |
| 198 | exit 1; \ |
| 199 | fi; \ |
| 200 | done |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 201 | @rm -rf "$(SIPHON_INPUT)" "$(SIPHON_OUTPUT)" |
| 202 | @mkdir -p "$(SIPHON_INPUT)" "$(SIPHON_OUTPUT)" |
Chris Luke | d4024f5 | 2016-09-06 09:32:36 -0400 | [diff] [blame] | 203 | @touch $(SIPHON_INPUT)/files |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 204 | @echo "Collating source file list for siphoning..." |
| 205 | @for input in $(DOXY_INPUT); do \ |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 206 | cd "$(WS_ROOT)"; \ |
| 207 | find "$$input" -type f \ |
Chris Luke | d4024f5 | 2016-09-06 09:32:36 -0400 | [diff] [blame] | 208 | \( -name '*.[ch]' -or -name '*.dox' \) -print \ |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 209 | | grep -v -E '^$(DOXY_EXCLUDE_REGEXP)' \ |
Chris Luke | d4024f5 | 2016-09-06 09:32:36 -0400 | [diff] [blame] | 210 | >> $(SIPHON_INPUT)/files; \ |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 211 | done |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 212 | @echo "Generating siphons..." |
Chris Luke | 90f52bf | 2016-09-12 08:55:13 -0400 | [diff] [blame] | 213 | @set -e; \ |
| 214 | cd "$(WS_ROOT)"; \ |
| 215 | $(DOXY_DIR)/siphon-generate \ |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 216 | --output="$(SIPHON_INPUT)" \ |
| 217 | "@$(SIPHON_INPUT)/files" |
| 218 | |
Chris Luke | c3f92ad | 2016-10-05 15:45:19 -0400 | [diff] [blame] | 219 | # Evaluate this to build a siphon doc output target for each desired |
| 220 | # output type: |
| 221 | # $(eval $(call siphon-process,file_extension,output_type_name)) |
| 222 | define siphon-process |
| 223 | $(SIPHON_OUTPUT)/%.$(1): $(SIPHON_INPUT)/%.siphon \ |
Chris Luke | 90f52bf | 2016-09-12 08:55:13 -0400 | [diff] [blame] | 224 | $(DOXY_DIR)/siphon-process \ |
| 225 | $(wildcard $(DOXY_DIR)/siphon/*.py) \ |
Chris Luke | c3f92ad | 2016-10-05 15:45:19 -0400 | [diff] [blame] | 226 | $(wildcard $(DOXY_DIR)/siphon_templates/$(2)/*/*.$(1)) |
| 227 | @echo "Processing siphon for $(2) from $$(notdir $$<)..." |
Chris Luke | 90f52bf | 2016-09-12 08:55:13 -0400 | [diff] [blame] | 228 | @set -e; \ |
| 229 | cd "$(WS_ROOT)"; \ |
| 230 | $(DOXY_DIR)/siphon-process \ |
Chris Luke | c3f92ad | 2016-10-05 15:45:19 -0400 | [diff] [blame] | 231 | --type=$$(basename $$(notdir $$<)) \ |
| 232 | --format=$(2) \ |
| 233 | --output="$$@" \ |
| 234 | "$$<" |
| 235 | endef |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 236 | |
Chris Luke | c3f92ad | 2016-10-05 15:45:19 -0400 | [diff] [blame] | 237 | # Process the .siphon source fragments and render them into doxygen flavored |
| 238 | # markdown documentation |
| 239 | .DELETE_ON_ERROR: $(SIPHON_DOCS) |
| 240 | $(eval $(call siphon-process,md,markdown)) |
| 241 | |
| 242 | # Process the .siphon source fragments and render them into a list of cli |
| 243 | # commands. |
| 244 | .DELETE_ON_ERROR: $(SIPHON_ITEMLIST) |
| 245 | $(eval $(call siphon-process,itemlist,itemlist)) |
| 246 | |
| 247 | # This target can be used just to generate the siphoned things |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 248 | .PHONY: doxygen-siphon |
Damjan Marion | 6bbf83a | 2017-01-10 10:39:21 +0100 | [diff] [blame] | 249 | doxygen-siphon: $(SIPHON_DOCS) $(SIPHON_ITEMLIST) |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 250 | |
| 251 | # Generate the doxygen docs |
Chris Luke | 90f52bf | 2016-09-12 08:55:13 -0400 | [diff] [blame] | 252 | .PHONY: doxygen |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 253 | doxygen: $(SIPHON_DOCS) |
| 254 | @mkdir -p "$(DOXY_OUTPUT)" |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 255 | @echo "Running Doxygen..." |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 256 | set -e; cd "$(WS_ROOT)"; \ |
| 257 | ROOT="$(WS_ROOT)" \ |
| 258 | BUILD_ROOT="$(BR)" \ |
| 259 | INPUT="$(addprefix $(WS_ROOT)/,$(DOXY_INPUT)) $(EXTRA_DOXY_INPUT)" \ |
Chris Luke | 16bcf7d | 2016-09-01 14:31:46 -0400 | [diff] [blame] | 260 | INCLUDE_PATH="$(DOXY_INCLUDE_PATH)" \ |
Chris Luke | 3b48093 | 2016-09-07 13:28:59 -0400 | [diff] [blame] | 261 | EXCLUDE="$(DOXY_EXCLUDE)" \ |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 262 | HTML=YES \ |
| 263 | VERSION="`git describe --tags --dirty`" \ |
| 264 | doxygen $(DOXY_DIR)/doxygen.cfg |
| 265 | |
Chris Luke | 90f52bf | 2016-09-12 08:55:13 -0400 | [diff] [blame] | 266 | .PHONY: wipe-doxygen |
Chris Luke | 54ccf22 | 2016-07-25 16:38:11 -0400 | [diff] [blame] | 267 | wipe-doxygen: |
| 268 | rm -rf "$(BR)/docs" "$(BR)/.doxygen-siphon.d" |
| 269 | |
Chris Luke | 90f52bf | 2016-09-12 08:55:13 -0400 | [diff] [blame] | 270 | .PHONY: clean |
| 271 | clean: wipe-doxygen |