summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-06-19 16:04:26 +0530
committerArun Isaac2021-06-19 16:14:37 +0530
commite40d0e3f82c3d00d27749f4bf3bd2eaefc61eec7 (patch)
tree254432a4908c297eee0cbb5dc4a55c8c9dcf6120
parent2560f58150a24037e1cb509208b787b1b8b91075 (diff)
downloadccwl-e40d0e3f82c3d00d27749f4bf3bd2eaefc61eec7.tar.gz
ccwl-e40d0e3f82c3d00d27749f4bf3bd2eaefc61eec7.tar.lz
ccwl-e40d0e3f82c3d00d27749f4bf3bd2eaefc61eec7.zip
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.
-rw-r--r--Makefile.am8
-rw-r--r--website/style.css (renamed from style.css)0
2 files changed, 2 insertions, 6 deletions
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)
diff --git a/style.css b/website/style.css
index 708d9aa..708d9aa 100644
--- a/style.css
+++ b/website/style.css