blob: f6ca09f906e2a7c913c71fb5d92d5d2155756f9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Makefile
#
# Makefile for docs directory of Veil
#
# Copyright (c) 2005 - 2015 Marc Munro
# Author: Marc Munro
# License: BSD
#
#
# Do not attempt to use this makefile explicitly: its targets are available
# and should be built from the main GNUmakefile in the parent directory.
#
.PHONY: docs_clean docs docs_check
DOCS_DIR = docs
DOCS_GARBAGE = $(garbage:%=$(DOCS_DIR)/%)
docs: docs/html
docs/html: $(SOURCES) $(HEADERS)
doxygen $(DOCS_DIR)/Doxyfile || \
(echo "Doxygen fails: is it installed?"; exit 2)
@rm -f NO # Don't know why this file is generated but it can go.
docs_clean:
@echo Cleaning docs...
@rm -f $(DOCS_GARBAGE) NO $(DOCS_DIR)/doxygen_sqlite3.db
@rm -rf $(DOCS_DIR)/html
docs_distclean: docs_clean
@rm -f Doxyfile
|