aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: aa024d0157e5e0a23076b52bcd5bb5d26bc30842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
HTML_DIR := manual
INFO_DOC := doc/fullswof-utils.info doc/dir

all: html-doc $(INFO_DOC)

doc/dir: doc/fullswof-utils.info
	@install-info --info-dir=doc $<

doc/fullswof-utils.info: 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: all clean