File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11ver =$(shell date +'% Y.% m.% d')
22
3- .PHONY : all zhcn en clean
3+ .PHONY : all zhcn en clean html
44
55all : zhcn en
66
77zhcn :
88 $(MAKE ) -f ebooks.mk lang=$@ lang2=cn src=zh-cn title=" agentzh的Nginx教程($( ver) 版)"
9- $(MAKE ) -f ebooks.mk
109
1110en :
1211 $(MAKE ) -f ebooks.mk
1312
13+ html :
14+ $(MAKE ) -f ebooks.mk lang=cn lang2=cn src=zh-cn title=" agentzh的Nginx教程($( ver) 版)" html
15+ $(MAKE ) -f ebooks.mk html
16+
1417clean :
1518 rm -rf html/ wiki/ index* .html * .mobi * .epub * .pdf agentzh-nginx-tutorials-* .html
1619
Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ html: $(name).html
4747 --title " $( title) " --publisher ' agentzh' \
4848 --language $(lang2 ) --authors ' agentzh'
4949
50- $(name ) .html : $(htmlfiles )
51- ./utils/gen-html-index-$(lang2 ) .pl -v $(ver ) -o $@ $^
50+ $(name ) .html : $(htmlfiles ) ./utils/gen-html-index- $( lang2 ) .pl
51+ ./utils/gen-html-index-$(lang2 ) .pl -v $(ver ) -o $@ $( htmlfiles )
5252
5353html/% .html : wiki/% .wiki ./utils/wiki2html-$(lang2 ) .pl
5454 mkdir -p $(dir $@ )
You can’t perform that action at this time.
0 commit comments