summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a819a09..09d8570 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,14 @@
+DIR_NAME := $(notdir $(CURDIR))
+GIT_HASH := $(shell git rev-list HEAD^!)
+
all:
site:
- $(CURDIR)/publish
+ $(CURDIR)/publish sass logo html
+logo:
+ $(CURDIR)/publish logo
+ rm -f $(CURDIR)/$(DIR_NAME)-images-${GIT_HASH}.tar.gz
+ tar -C $(CURDIR)/assets/images -pczf $(CURDIR)/$(DIR_NAME)-images-${GIT_HASH}.tar.gz .
+
+clean:
+ rm -fr $(CURDIR)/html