diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,27 +1,29 @@ HTML_DIR := manual +INFO_DIR := doc INFO_DOC := doc/fullswof-utils.info doc/dir all: html-doc $(INFO_DOC) doc/dir: doc/fullswof-utils.info @install-info --info-dir=doc $< + @cp -r images $(INFO_DIR)/. doc/fullswof-utils.info: doc/fullswof-utils.texi @makeinfo --output=doc/fullswof-utils.info --no-split $< - @ln -s ../images doc/images html-doc: doc/fullswof-utils.texi @test -d $(HTML_DIR) || mkdir $(HTML_DIR) + @cp -r images $(HTML_DIR)/. @makeinfo --html --css-ref="../../css/manual.css" \ --output=$(HTML_DIR)/html_node $< - @ln -s ../../images $(HTML_DIR)/html_node/images + @ln -s ../images $(HTML_DIR)/html_node/images @makeinfo --html --css-ref="../css/manual.css" --no-split \ --output=$(HTML_DIR)/fullswof-utils.html $< - @ln -s ../images $(HTML_DIR)/images clean: @echo "Cleaning up..." - @rm -f doc/fullswof-utils.info doc/images doc/dir + @rm -f doc/fullswof-utils.info doc/dir + @rm -rf doc/images @rm -rf manual .PHONY: all clean |