# ここに日本語ページのソースを列挙 JP = introduction.bhtml howtouse.bhtml examples.bhtml syntax.bhtml # research_jp.bhtml download_jp.bhtml JPINDEX = indexw_jp.bhtml SINDEX = indexw_s.bhtml # ここに英語ページのソースを列挙 EN = introduction_en.bhtml system_en.bhtml # research_en.bhtml download_en.bhtml ENINDEX = indexw_en.bhtml # 以下、触るべからず。 FORMHTML = /www/bin/formhtml/formhtml TEMPLDIR = /www/httpd/html/research/themes/template # 変数を環境変数化 export EQNBASE=eqn/ all: tchart.style jp init: cp $(TEMPLDIR)/indexw_jp.bhtml . cp $(TEMPLDIR)/indexw_en.bhtml . cp $(TEMPLDIR)/index.html.ja . cp $(TEMPLDIR)/index.html.en . mkdir fig eqn jp: $(FORMHTML) -indexfile=sectionindex_jp.bhtml -japanese $(JP) $(FORMHTML) -japanese $(JPINDEX) simple: $(FORMHTML) -indexfile=sectionindex_s.bhtml -japanese -simple $(JP) $(FORMHTML) -japanese -simple $(SINDEX) $(FORMHTML) -indexfile=sectionindex_jp.bhtml -japanese $(JP) $(FORMHTML) -japanese $(JPINDEX) en: $(FORMHTML) -indexfile=sectionindex_en.bhtml -english $(EN) $(FORMHTML) -english $(ENINDEX) DELETEOBJ= '~$$\|\.tgi$$\|\.eps\.gif$$\|thumbFH_' clean: @echo These files will cleared with command: make doclean @find . -type f | grep $(DELETEOBJ) doclean: @find . -type f | grep $(DELETEOBJ) @find . -type f | grep $(DELETEOBJ) | xargs rm