summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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