aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-05-24 18:10:22 +0530
committerArun Isaac2021-05-24 18:23:32 +0530
commit12c3c9dbee37bb5dfb6021832b8bf244b7ff43bb (patch)
tree7a7192dba1df3c8719746955542a98a963a77381
parent24e02ea77b87984e60b06c11875d2f138a85f392 (diff)
downloadccwl-12c3c9dbee37bb5dfb6021832b8bf244b7ff43bb.tar.gz
ccwl-12c3c9dbee37bb5dfb6021832b8bf244b7ff43bb.tar.lz
ccwl-12c3c9dbee37bb5dfb6021832b8bf244b7ff43bb.zip
Add HTML manual to website.
* Makefile.am (website/manual/dev/en): New target. (website): Require website/manual/dev/en. (AM_MAKEINFOHTMLFLAGS): Add --css-ref=/style.css to include CSS.
-rw-r--r--Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 38e49bc..8eab1cb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,7 +66,9 @@ EXTRA_DIST += \
# Build website
-website: website/index.html website/style.css
+AM_MAKEINFOHTMLFLAGS = --css-ref=/style.css
+
+website: website/index.html website/style.css website/manual/dev/en
website/index.html: README.org
mkdir -p $(dir $@)
@@ -76,6 +78,11 @@ website/style.css: style.css
mkdir -p $(dir $@)
cp -v $< $@
+website/manual/dev/en: doc/ccwl.html
+ rm -rf $@
+ mkdir -p $(dir $@)
+ cp -vr doc/ccwl.html $@
+
# The clean target depends on clean-local. We use clean-local to clean
# up the website built by the website target.
clean-local: