aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-06-18 14:20:46 +0530
committerArun Isaac2021-06-18 14:20:46 +0530
commit6bae44bacfba0f6ecf8d43ed2f11792b9571e58d (patch)
treea7afd5dd3ffc1a6ce73496095847baadfe548247
parente4c81c5ce3459162d01f1ccd0e93f893a7c1ac6f (diff)
downloadguile-email-6bae44bacfba0f6ecf8d43ed2f11792b9571e58d.tar.gz
guile-email-6bae44bacfba0f6ecf8d43ed2f11792b9571e58d.tar.lz
guile-email-6bae44bacfba0f6ecf8d43ed2f11792b9571e58d.zip
Copy manual to website in a separate target.
* Makefile.am (website/manual/dev/en): New target. (website): Depend on website/manual/dev/en instead of building directly. Do not depend on phony target html.
-rw-r--r--Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 6ff6a64..df0ca5f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -72,13 +72,16 @@ EXTRA_DIST += \
COPYING \
README.org
-website: html website/index.html
- mkdir -p website/manual/dev
- cp -vr doc/guile-email.html website/manual/dev/en
+website: website/index.html website/manual/dev/en
website/index.html: README.org
mkdir -p website
emacs -Q --script build-website.el
+website/manual/dev/en: doc/guile-email.html
+ rm -rf $@
+ $(MKDIR_P) $(dir $@)
+ cp -vr $< $@
+
clean-local:
rm -rf website/index.html website/manual/dev/en