summaryrefslogtreecommitdiff
path: root/doc/ThornGuide
diff options
context:
space:
mode:
authorikelley <ikelley@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-07-15 09:10:14 +0000
committerikelley <ikelley@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-07-15 09:10:14 +0000
commitfe6d0209d65f8cf91173063460044a3065e970c1 (patch)
tree1705ab016dce61898da1e35051d9270be1d3f0c2 /doc/ThornGuide
parentfc4c9a00703ac5035f42b028e5974d44aa5c3699 (diff)
can take an optional argument TOCDEPTH now, will default to 0 if not passed in
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2931 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/ThornGuide')
-rw-r--r--doc/ThornGuide/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/ThornGuide/Makefile b/doc/ThornGuide/Makefile
index c3ecb461..d2095960 100644
--- a/doc/ThornGuide/Makefile
+++ b/doc/ThornGuide/Makefile
@@ -20,6 +20,10 @@ ifeq ($(strip $(THORNLIST)), )
THORNLIST=allthorns.th
endif
+ifeq ($(strip $(TOCDEPTH)), )
+ TOCDEPTH=0
+endif
+
ifeq ($(strip $(PERL)), )
PERL=/usr/bin/perl
endif
@@ -82,7 +86,7 @@ $(MASTER_FILE).tex: $(foreach thorn, $(THORNS), $(thorn)/param.ccl $(thorn)/int
@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 $@ ..."
- $(PERL) -s $(CCTK_HOME)/lib/sbin/ThornGuide.pl -cctk_home=$(CCTK_HOME) -directory=$(ARRANGEMENTS_DIR) -thornlist=$(THORNLIST) -outdir=./ -outfile=$(MASTER_FILE).tex > LOG_THORNGUIDE_MSGS 2>&1
+ $(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 ;