-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (28 loc) · 707 Bytes
/
Makefile
File metadata and controls
40 lines (28 loc) · 707 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
40
ifndef samples_dir
samples_dir := ../sample_projects
endif
export samples_dir
export snippets_file := doc-latest/getting_started_with_tlb.html
export max_snippets_per_source_file=10
export embedding_start_tag=TLB-DOC-START@_name_@
export embedding_end_tag=TLB-DOC-END@_name_@
export snip_pre=<pre>
export snip_post=</pre>
export escape_xml=1
server:
jekyll --server
tmp/js: tmp/*.zip
unzip -o -d tmp/ tmp/jquery-ui*.zip
clean:
rm -rf tmp/*
rm -rf _site
check_zip:
ls tmp/ | grep -q jquery-ui
sw_to_local:
util/local_on
google_cdn:
util/google_on
local_cdn: check_zip tmp/js sw_to_local
embed_snippets:
@echo Using ${samples_dir} as 'sample_projects' directory
util/refresh_snippets