aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Garlick <pgarlick@tourbillion-technology.com>2021-11-30 20:07:08 +0000
committerPaul Garlick <pgarlick@tourbillion-technology.com>2021-11-30 20:07:08 +0000
commitc45f9fd5940383b75d5db24c0342311d0498ff53 (patch)
tree411c3af5c92c974863cf50bbf0911885789f5d3b
parent591b006043b5fc9c6ef4737e5da998013f3602df (diff)
downloadfullSWOF-utils-c45f9fd5940383b75d5db24c0342311d0498ff53.tar.gz
doc: Copy image files to INFO_DIR and HTML_DIR.
* Makefile: Replace links to image subdirectory with recursive copies. * doc/images: Remove link.
-rw-r--r--Makefile10
l---------doc/images1
2 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7093000..49c0265 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/doc/images b/doc/images
deleted file mode 120000
index 5e67573..0000000
--- a/doc/images
+++ /dev/null
@@ -1 +0,0 @@
-../images \ No newline at end of file