File tree Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Original file line number Diff line number Diff line change 3
3
JEKYLL_WORKDIR =target/jekyll-work
4
4
JEKYLL_OUTDIR =target/_site
5
5
6
- all :
7
-
8
- html :
9
- rm -rf target/html
10
- mkdir -p target/html/doc
11
- if [ ! -d vim/runtime/doc ]; then git clone --depth=1 https://github.com/vim/vim.git; fi
12
- if [ ! -d vim_faq/doc ]; then git clone --depth=1 https://github.com/chrisbra/vim_faq.git; fi
13
- cd vim; git apply ../tools/add-vimfaq-link.diff; cd ..
14
- cp vim/runtime/doc/* .txt vim_faq/doc/* .txt target/html/doc
6
+ html-prepare : vim/runtime/doc vim_faq/doc target/html/doc
7
+ rm -f target/html/doc/* .txt
8
+ cp vim/runtime/doc/* .txt target/html/doc
9
+ cp vim_faq/doc/* .txt target/html/doc
10
+
11
+ html : html-prepare
15
12
-cd target/html/doc ; vim -eu ../../../tools/buildhtml.vim -c " qall!"
16
13
14
+ vim/runtime/doc :
15
+ git clone --depth=1 https://github.com/vim/vim.git
16
+ cd vim && git apply ../tools/add-vimfaq-link.diff
17
+
18
+ vim_faq/doc :
19
+ git clone --depth=1 https://github.com/chrisbra/vim_faq.git
20
+
21
+ target/html/doc :
22
+ mkdir -p $@
23
+
17
24
clean :
18
25
rm -rf target
19
26
27
+ distclean :
28
+ rm -rf vim vim_faq
29
+
20
30
jekyll-build-prepare :
21
31
mkdir -p $(JEKYLL_WORKDIR )
22
32
cp target/html/doc/* .html $(JEKYLL_WORKDIR )
You can’t perform that action at this time.
0 commit comments