-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (27 loc) · 714 Bytes
/
Makefile
File metadata and controls
40 lines (27 loc) · 714 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
GIT_PATH=`git --exec-path`
all:
@echo "Use"
@echo " install"
@echo " uninstall"
install:
install -d -m 0755 $(GIT_PATH)
install -m 0755 git-publish $(GIT_PATH)
uninstall:
rm $(GIT_PATH)/git-publish
## Build Site Workflow
clean:
rm -rf build
build-all: index.html static
build:
mkdir build
static: build
cp docs/CNAME build
cp -r docs/fontello build
cp docs/animation.gif build
index.html: build
if [ -f build/index.html ]; then rm build/index.html; fi
touch build/index.html
cat docs/header.html >> build/index.html
cat README.md | pandoc --from markdown_github --to html >> build/index.html
cat docs/footer.html >> build/index.html
.PHONY: all install uninstall build build-all clean