aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 64bbe94ae34b735e5f8bb0c1e2f03808d95ad9c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
HTML_DIR := manual

all: info-doc html-doc

info-doc: doc/fullswof-utils.texi
	@makeinfo --output=doc/fullswof-utils.info --no-split $<

html-doc: doc/fullswof-utils.texi
	@test -d $(HTML_DIR) || mkdir $(HTML_DIR)
	@makeinfo --html --css-ref="../../css/manual.css" \
	  --output=$(HTML_DIR)/html_node $<
	@makeinfo --html --css-ref="../css/manual.css" --no-split \
	  --output=$(HTML_DIR)/fullswof-utils.html $<

clean:
	@echo "Cleaning up..."
	@rm -rf manual

.PHONY: clean