aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-02-05 08:45:53 +0530
committerArun Isaac2022-02-05 08:45:53 +0530
commit081129b98d6068e50558740566f37ebbe9951a1d (patch)
treed103ebba1eace8b26d4ace283388437614f8b582
parent3fa8be6e10f8c9c3f06c6fa9a4e003308158af78 (diff)
downloadccwl-081129b98d6068e50558740566f37ebbe9951a1d.tar.gz
ccwl-081129b98d6068e50558740566f37ebbe9951a1d.tar.lz
ccwl-081129b98d6068e50558740566f37ebbe9951a1d.zip
Makefile: Copy HTML manual to website.
This was done correctly in the earlier autotools build system, but was missed out in the migration to hand-written Makefiles. * Makefile (website): Depend on website/manual/dev/en. (website/manual/dev/en): New target. (clean): Remove website/manual. Remove $(doc_html) recursively.
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 02f9d26..1fe1029 100644
--- a/Makefile
+++ b/Makefile
@@ -152,14 +152,20 @@ distcheck: $(dist_archive)
# Build website
-website: website/index.html
+website: website/index.html website/manual/dev/en
website/index.html: README.org build-aux/build-home-page.el
$(EMACS) -Q --batch --load build-aux/build-home-page.el --funcall build-website
+website/manual/dev/en: $(doc_html)
+ rm -rf $@
+ mkdir -p $(dir $@)
+ cp -vr $^ $@
+
# Clean
clean:
rm -f $(objects) $(dist_archive) $(dist_archive).asc Makefile.include website/index.html \
$(DOC_SCM:.scm=.cwl) $(DOC_IMAGES) $(DOC_IMAGES:.png=.dot) $(DOC_OUT) \
- $(doc_html) $(doc_info) doc/skribilo.go
+ $(doc_info) doc/skribilo.go
+ rm -rf $(doc_html) website/manual