From 9e374f38ab9bc508cce5c0644265cff381edc2a4 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 28 Jun 2021 18:17:51 +0530 Subject: Makefile: Clean entire website manual directory. * Makefile.am (clean-local): Delete entire website manual directory. (website/manual/dev/en): Create directory before copying files. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3