summaryrefslogtreecommitdiff
path: root/doc/ThornGuide
diff options
context:
space:
mode:
authorikelley <ikelley@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-08-19 18:38:50 +0000
committerikelley <ikelley@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-08-19 18:38:50 +0000
commitad7c4fe8e561b76f5de7a9be9abbe101bdc90dae (patch)
tree9abb0ee6d7fc30ee2e1f8188b37fbe0f1a9e9924 /doc/ThornGuide
parent29fd4906dd3bece81802ff03488b7ac0efabf2e0 (diff)
adding things to support doing THORNS= and ARRANGEMENTS=, should not effect current functionality.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2967 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/ThornGuide')
-rw-r--r--doc/ThornGuide/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/ThornGuide/Makefile b/doc/ThornGuide/Makefile
index d2095960..76a0128b 100644
--- a/doc/ThornGuide/Makefile
+++ b/doc/ThornGuide/Makefile
@@ -52,7 +52,7 @@ $(MASTER_FILE).ps: $(MASTER_FILE).dvi
$(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 $< > LOG_NULL 2>&1; \
latex -interaction=nonstopmode $< | grep -v Underfull | grep -v Overfull | grep -v OT1 > LOG_LATEX_MSGS 2>&1; \
@@ -65,7 +65,7 @@ $(MASTER_FILE).dvi: $(MASTER_FILE).tex
$(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 $< > LOG_NULL 2>&1; \
pdflatex -interaction=nonstopmode $< | grep -v Underfull | grep -v Overfull | grep -v OT1 > LOG_PDFLATEX_MSGS 2>&1
@@ -76,7 +76,7 @@ $(MASTER_FILE).pdf: $(MASTER_FILE).tex
echo " Cannot find $@, an error must have occured."; \
fi ;
-$(MASTER_FILE).tex: $(foreach thorn, $(THORNS), $(thorn)/param.ccl $(thorn)/interface.ccl $(thorn)/schedule.ccl)
+$(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 ..."
@@ -92,8 +92,8 @@ $(MASTER_FILE).tex: $(foreach thorn, $(THORNS), $(thorn)/param.ccl $(thorn)/int
fi ;
make.thornlist: $(THORNLIST)
- THORNS=`$(PERL) -s $(CCTK_HOME)/lib/sbin/ThornList.pl -arrangements_dir=$(ARRANGEMENTS_DIR) -thornlist=$(THORNLIST)`
+ THORN_DEPENDENCIES=`$(PERL) -s $(CCTK_HOME)/lib/sbin/ThornList.pl -arrangements_dir=$(ARRANGEMENTS_DIR) -thornlist=$(THORNLIST)`
-allthorns.th:
+$(THORNLIST):
@echo "Creating $@ ..."
- $(PERL) -s $(CCTK_HOME)/lib/sbin/ThornList.pl -arrangements_dir=$(ARRANGEMENTS_DIR) > $@
+ $(PERL) -s $(CCTK_HOME)/lib/sbin/ThornList.pl -arrangements_dir=$(ARRANGEMENTS_DIR) -thorns=$(THORNS) -arrangements=$(ARRANGEMENTS)> $@