aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-06-28 18:17:51 +0530
committerArun Isaac2021-06-28 18:25:15 +0530
commit9e374f38ab9bc508cce5c0644265cff381edc2a4 (patch)
tree08ced9244389d2e10b38f3636cb1f4f6e3f0f38c
parent73b257d6b2da02f7f82f04192af3beab6372db77 (diff)
downloadccwl-9e374f38ab9bc508cce5c0644265cff381edc2a4.tar.gz
ccwl-9e374f38ab9bc508cce5c0644265cff381edc2a4.tar.lz
ccwl-9e374f38ab9bc508cce5c0644265cff381edc2a4.zip
Makefile: Clean entire website manual directory.
* Makefile.am (clean-local): Delete entire website manual directory. (website/manual/dev/en): Create directory before copying files.
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 6cb3b85..3061b74 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -121,9 +121,10 @@ website/index.html: README.org
website/manual/dev/en: $(SKRIBILO_BUILD_DIR)/ccwl.html
rm -rf $@
+ $(MKDIR_P) $(dir $@)
cp -vr $< $@
# The clean target depends on clean-local. We use clean-local to clean
# up the website and the skribilo build directory.
clean-local:
- rm -rf website/index.html website/manual/dev/en $(SKRIBILO_BUILD_DIR)
+ rm -rf website/index.html website/manual $(SKRIBILO_BUILD_DIR)