-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathGNUmakefile
More file actions
60 lines (47 loc) · 1.63 KB
/
GNUmakefile
File metadata and controls
60 lines (47 loc) · 1.63 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Documents to build using latexmk and friends (automatically added to
# all target).
PRODUCTS = \
requirements-lifecycle.pdf \
dune-fw-design-ideas-chg.pdf \
dune-req-009-issues.pdf \
dune-fw-design-concerns-chg-slides.pdf \
chunkable.pdf \
processing-giant-data.pdf \
framework-agnostic-algorithms-concerns.pdf
# All PDFs should be made portable, with subsetted fonts.
PORTABLE_PDF = 1
# Show the command lines used.
VERBOSE = 5
# Don't show command output or error.
QUIET = 0
####################################
# # Use doc.mk to produce our documents.
ifneq (,$(SSDDOC_INC))
ddir = $(SSDDOC_INC)
else
ddir = ../cet-is/ssddoc/include
endif
include $(ddir)/doc.mk
# Check we have the version we need of doc.mk.
verified_doc_mk_version := $(call require_doc_mk_version,0.1.0)
####################################
####################################
# Target-specific variables and additive overrides.
# Change GNUmakefile, rebuild things.
$(PRODUCTS): GNUmakefile
# Set highlight style.
$(PRODUCTS): override PANDOC_EXTRA_OPTS += --highlight-style=pygments
# Identify targets requiring beamer.
$(call targets_with,-slides): override PANDOC_BEAMER = YES
# Required by requirements-lifecycle.pdf
requirements-statemachine.png: requirements-statemachine.gv
dot -Tpng $< -o $@
####################################
####################################
# Make sure we can find everything we need.
export TEXINPUTS=$(DOC_MK_DIR)web-conf/:$(DOC_MK_DIR)/:
export BSTINPUTS=$(DOC_MK_DIR)web-conf/:
####################################
####################################
# Regenerate and clean up .bbl files.
override LATEXMK_EXTRA_OPTS += -bibtex