-
Notifications
You must be signed in to change notification settings - Fork 55
/
Makefile
33 lines (25 loc) · 611 Bytes
/
Makefile
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
#!/usr/bin/env make -f
# author: amoblin <amoblin@gmail.com>
# file name: Makefile
# create date: 2013-12-19 13:31:13
# This file is created from ~/.marboo/source/media/file_init/default.init.py
doc:
make gen
make update
update:
/bin/cp -rf html/* .
/bin/mv -f README.html index.html
default:
find . -type f -name \*.org | xargs touch
clean:
find . |grep ~$$ | xargs rm -f
html:
#mkdir html/worg/guide
#mkdir html/worg/org-tutorials
cp {,html/}guide/index.html
cp {,html/}worg/org-tutorials/OrgTutorial.cn.html
gen:
./generate.el
server:
cd html;python -m SimpleHTTPServer
.PHONY: gen html