From e40d0e3f82c3d00d27749f4bf3bd2eaefc61eec7 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sat, 19 Jun 2021 16:04:26 +0530 Subject: website: Move CSS into the website directory. That way, there is no need to copy it when building the website. * Makefile.am (website/style.css): Delete target. (website): Do not depend on the website/style.css target. (clean-local): Clean up only website/index.html and website/manual/dev/en, not the entire website directory. * style.css: Move to website/style.css. --- Makefile.am | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 33b0426..2c26227 100644 --- a/Makefile.am +++ b/Makefile.am @@ -96,16 +96,12 @@ uninstall-local: # Build website -website: website/index.html website/style.css website/manual/dev/en +website: website/index.html website/manual/dev/en website/index.html: README.org mkdir -p $(dir $@) emacs -Q --script build-aux/build-home-page.el -website/style.css: style.css - mkdir -p $(dir $@) - cp -v $< $@ - website/manual/dev/en: $(SKRIBILO_BUILD_DIR)/ccwl.html $(MKDIR_P) $@ cp -v $< $@/index.html @@ -113,4 +109,4 @@ website/manual/dev/en: $(SKRIBILO_BUILD_DIR)/ccwl.html # 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 $(SKRIBILO_BUILD_DIR) + rm -rf website/index.html website/manual/dev/en $(SKRIBILO_BUILD_DIR) -- cgit v1.2.3