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 33JEKYLL_WORKDIR =target/jekyll-work
44JEKYLL_OUTDIR =target/_site
55
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
1512 -cd target/html/doc ; vim -eu ../../../tools/buildhtml.vim -c " qall!"
1613
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+
1724clean :
1825 rm -rf target
1926
27+ distclean :
28+ rm -rf vim vim_faq
29+
2030jekyll-build-prepare :
2131 mkdir -p $(JEKYLL_WORKDIR )
2232 cp target/html/doc/* .html $(JEKYLL_WORKDIR )
You can’t perform that action at this time.
0 commit comments