From 48a499c2c1b999008c5a0d1f8931141b07225c4b Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Thu, 16 May 2019 18:42:56 -0400 Subject: html -> static, img -> static/assets/img --- Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index eb8c5ad..255d0b8 100644 --- a/Makefile +++ b/Makefile @@ -1,32 +1,30 @@ BUILD_DIR=_build CSS_DIR=$(BUILD_DIR)/assets/css JS_DIR=$(BUILD_DIR)/assets/js -IMG_DIR=$(BUILD_DIR)/assets/img SCSS=scss/_all.scss CSS=$(CSS_DIR)/fsfi.css JS_SRC=js/navbar.js -site: $(BUILD_DIR) css img html js +site: $(BUILD_DIR) css static js .PHONY: site -html: $(BUILD_DIR) - rsync -a html/ $(BUILD_DIR)/ -.PHONY: html +static: $(BUILD_DIR) + rsync -a static/ $(BUILD_DIR)/ +.PHONY: static -img: $(BUILD_DIR) - rsync -a img/ $(IMG_DIR)/ -.PHONY: img news: @python3 ./bin/news .PHONY: news + css: $(CSS) .PHONY: css + $(CSS): $(SCSS) scss/style.scss $(BUILD_DIR) mkdir -p `dirname $(CSS)` sass --style expanded $(SCSS) $(CSS) @@ -36,6 +34,7 @@ js: $(JS_DIR) $(JS_SRC) cat $(JS_SRC) > $(JS_DIR)/fsfi.js .PHONY: js + $(JS_DIR): mkdir -p $(JS_DIR) -- cgit v1.2.3