blob: d997b3ae4daae7f9dc2b5565c330d7a9db0fb680 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
DIR_NAME := $(notdir $(CURDIR))
GIT_HASH := $(shell git rev-list HEAD^!)
all:
site:
$(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
find $(CURDIR) -mindepth 1 -maxdepth 1 -type f -name '*.tar.gz' -delete
|