aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: bcd0ab510aa161f10b25677b02b4bca9b45fad7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 --output=$(HTML_DIR)/html_node $<
	makeinfo --html --output=$(HTML_DIR)/fullswof-utils.html \
	  --no-split $<

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

.PHONY: clean