File: doc.mk

package info (click to toggle)
libalog 0.6.2-7.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 784 kB
  • sloc: ada: 4,353; makefile: 99; sh: 18; ansic: 5
file content (25 lines) | stat: -rw-r--r-- 642 bytes parent folder | download | duplicates (2)
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
# Makefile snippet intended for inclusion by ../Makefile.

# There are two variants of the architecture diagram.
# * alog-arch.svg is generated from alog-arch.graphml, assuming a
#   non-free graphml editor and/or converter.
# * alog-arch-dfsg.svg can be modified with free tools like inkscape.
DIAGRAM := alog-arch.svg

build-doc:
	rm -fr doc/html
	mkdir doc/html

	scour -i doc/arch/$(DIAGRAM) \
	  -o doc/html/alog-arch.svg \
	  --enable-comment-stripping \
	  --enable-id-stripping \
	  --enable-viewboxing \
	  --indent=none \
	  --shorten-ids

	asciidoctor doc/index -o doc/html/index.html

clean: clean-doc
clean-doc:
	rm -fr doc/html