File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,11 @@ ver=$(shell date +'%Y.%m.%d')
55all : zhcn en
66
77zhcn :
8+ $(MAKE ) -f ebooks.mk lang=$@ lang2=cn src=zh-cn title=" agentzh的Nginx教程($( ver) 版)"
89 $(MAKE ) -f ebooks.mk
910
1011en :
11- $(MAKE ) -f ebooks.mk lang= $@ lang2=en src=en title= " agentzh's Nginx Tutorials (ver $( ver ) ) "
12+ $(MAKE ) -f ebooks.mk
1213
1314clean :
1415 rm -rf html/ wiki/ index* .html * .mobi * .epub * .pdf agentzh-nginx-tutorials-* .html
Original file line number Diff line number Diff line change 1- lang =zhcn
2- lang2 =cn
3- src =zh-cn
4- ver =$(shell date +'% Y.% m.% d')
5- title =agentzh的Nginx教程( $(ver ) 版)
6- name =agentzh-nginx-tutorials-$(lang )
7- tutfiles =$(sort $(wildcard $(src ) /* .tut) )
8- wikifiles =$(patsubst % .tut,wiki/% .wiki,$(tutfiles ) )
9- htmlfiles =$(patsubst % .tut,html/% .html,$(tutfiles ) )
1+ lang = en
2+ lang2 = en
3+ src = en
4+ ver = $(shell date +'% Y.% m.% d')
5+ title = agentzh's Nginx Tutorials (ver $(ver ) )
6+ name = agentzh-nginx-tutorials-$(lang )
7+ tutfiles = $(sort $(wildcard $(src ) /* .tut) )
8+ wikifiles = $(patsubst % .tut,wiki/% .wiki,$(tutfiles ) )
9+ htmlfiles = $(patsubst % .tut,html/% .html,$(tutfiles ) )
1010
1111.PHONY : all mobi epub pdf html
1212
@@ -59,4 +59,3 @@ wiki/%.wiki: %.tut ./utils/tut2wiki-$(lang2).pl
5959 ./utils/tut2wiki-$(lang2 ) .pl -o $@ $<
6060
6161# test: ; echo $(htmlfiles)
62-
You can’t perform that action at this time.
0 commit comments