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