diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-07-18 18:54:18 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-07-18 18:54:18 +0000 |
commit | 67d7b09601e6c4de65b7dc8883bce917e5b44c96 (patch) | |
tree | 762600124a1a061ffcbb2096bdbe4fa55a92bced /doc/ThornGuide/Makefile | |
parent | 996d199af97ad532deb03de7e2159d4c8b282c79 (diff) |
Move most of the (duplicated) latex headers into cactus.sty.
Fix typos in template.tex.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3295 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/ThornGuide/Makefile')
-rw-r--r-- | doc/ThornGuide/Makefile | 46 |
1 files changed, 21 insertions, 25 deletions
diff --git a/doc/ThornGuide/Makefile b/doc/ThornGuide/Makefile index 05f80cd5..332d2e72 100644 --- a/doc/ThornGuide/Makefile +++ b/doc/ThornGuide/Makefile @@ -43,58 +43,54 @@ IMAGE_FILE=$(CCTK_HOME)/doc/UsersGuide/bincactus2.eps default : $(MASTER_FILE).ps $(MASTER_FILE).ps: $(MASTER_FILE).dvi - @echo " Running dvips on $<" + @echo " Running dvips on $<...." dvips -f $< 2> LOG_DVIPS_MSGS | $(CCTK_HOME)/lib/sbin/FixPageNumbersInPostscript.pl > $@ if test -e "$@"; then \ echo " $@ created."; \ else \ echo " Cannot find $@, an error must have occured."; \ - fi ; + fi $(MASTER_FILE).dvi: $(MASTER_FILE).tex - @echo " Latexing $<" - latex -interaction=nonstopmode $< > LOG_NULL 2>&1; \ - latex -interaction=nonstopmode $< > LOG_NULL 2>&1; \ - latex -interaction=nonstopmode $< > LOG_NULL 2>&1; \ - latex -interaction=nonstopmode $< | grep -v Underfull | grep -v Overfull | grep -v OT1 > LOG_LATEX_MSGS 2>&1; \ + @echo " Latexing $<...." + latex $< < /dev/null > LOG_LATEX_FULL_MSGS 2>&1 + latex $< < /dev/null > LOG_LATEX_FULL_MSGS 2>&1 + latex $< < /dev/null 2>&1 | tee LOG_LATEX_FULL_MSGS | grep -v Underfull | grep -v Overfull | grep -v OT1 > LOG_LATEX_MSGS if test -e "$@"; then \ echo " $@ created."; \ else \ echo " Cannot find $@, an error must have occured."; \ - fi ; + fi $(MASTER_FILE).pdf: $(MASTER_FILE).tex - @echo " Running pdflatex on $<" - - pdflatex -interaction=nonstopmode $< > LOG_NULL 2>&1; \ - pdflatex -interaction=nonstopmode $< > LOG_NULL 2>&1; \ - pdflatex -interaction=nonstopmode $< > LOG_NULL 2>&1; \ - pdflatex -interaction=nonstopmode $< | grep -v Underfull | grep -v Overfull | grep -v OT1 > LOG_PDFLATEX_MSGS 2>&1 - + @echo " Running pdflatex on $<...." + pdflatex $< < /dev/null > LOG_PDFLATEX_MSGS 2>&1 + pdflatex $< < /dev/null > LOG_PDFLATEX_MSGS 2>&1 + pdflatex $< < /dev/null 2>&1 | grep -v Underfull | grep -v Overfull | grep -v OT1 > LOG_PDFLATEX_MSGS if test -e "$@"; then \ echo " $@ created."; \ else \ echo " Cannot find $@, an error must have occured."; \ - fi ; + fi $(MASTER_FILE).tex: $(foreach thorn, $(THORN_DEPENDENCIES), $(thorn)/param.ccl $(thorn)/interface.ccl $(thorn)/schedule.ccl) $(THORNLIST) @echo " Creating thorn documentation $(MASTER_FILE).tex" - @echo " Processing ..." - @echo " param.ccl ..." + @echo " Processing...." + @echo " param.ccl...." $(PERL) -s $(CCTK_HOME)/lib/sbin/ParamLatex.pl -cctk_home=$(CCTK_HOME) -directory=$(ARRANGEMENTS_DIR) -thornlist=$(THORNLIST) -outdir=./ -section -grouping=bythorn -sort=scope > LOG_PARAMLATEX_MSGS 2>&1 - @echo " interface.ccl ..." + @echo " interface.ccl...." $(PERL) -s $(CCTK_HOME)/lib/sbin/InterLatex.pl -cctk_home=$(CCTK_HOME) -directory=$(ARRANGEMENTS_DIR) -thornlist=$(THORNLIST) -outdir=./ -section -grouping=bythorn > LOG_INTERLATEX_MSGS 2>&1 - @echo " schedule.ccl ..." + @echo " schedule.ccl...." $(PERL) -s $(CCTK_HOME)/lib/sbin/SchedLatex.pl -cctk_home=$(CCTK_HOME) -directory=$(ARRANGEMENTS_DIR) -thornlist=$(THORNLIST) -outdir=./ -section > LOG_SCHEDLATEX_MSGS 2>&1 - @echo " Creating $@ ..." + @echo " Creating $@...." $(PERL) -s $(CCTK_HOME)/lib/sbin/ThornGuide.pl -cctk_home=$(CCTK_HOME) -directory=$(ARRANGEMENTS_DIR) -thornlist=$(THORNLIST) -outdir=./ -outfile=$(MASTER_FILE).tex -tocdepth=$(TOCDEPTH) > LOG_THORNGUIDE_MSGS 2>&1 - if test -e $(IMAGE_FILE) && test ! -e "bincactus.eps"; then \ - cp $(IMAGE_FILE) bincactus.eps; \ - fi ; + if test -e $(IMAGE_FILE) && test ! -e "bincactus2.eps"; then \ + cp $(IMAGE_FILE) .; \ + fi make.thornlist: $(THORNLIST) THORN_DEPENDENCIES=`$(PERL) -s $(CCTK_HOME)/lib/sbin/ThornList.pl -arrangements_dir=$(ARRANGEMENTS_DIR) -thornlist=$(THORNLIST)` $(THORNLIST): - @echo "Creating $@ ..." + @echo "Creating $@...." $(PERL) -s $(CCTK_HOME)/lib/sbin/ThornList.pl -arrangements_dir=$(ARRANGEMENTS_DIR) -thorns=$(THORNS) -arrangements=$(ARRANGEMENTS)> $@ |