From cc87654efbc2cc43c5f7538ea2b781ec398ea073 Mon Sep 17 00:00:00 2001 From: allen Date: Wed, 23 Oct 2002 22:01:25 +0000 Subject: From Ian Kelley: Allow to specify the TOCDEPTH of the thornguide on the command line. Because, I, for one, don't like the depth of 0. The default value of 0 has remained the same gmake ThornGuide TOCDEPTH=0 gmake ThornGuide TOCDEPTH=1 git-svn-id: http://svn.cactuscode.org/flesh/trunk@3016 17b73243-c579-4c4c-a9d2-2d5706c11dac --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index cc67b72f..4ed936c6 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ # # # @enddesc -# @version $Id: Makefile,v 1.141 2002-08-21 16:25:30 allen Exp $ +# @version $Id: Makefile,v 1.142 2002-10-23 22:01:25 allen Exp $ # @@*/ ################################################################################## @@ -945,7 +945,7 @@ ThornGuide: mkdir $(CCTK_HOME)/doc/ThornGuide/build; @echo " Processing...." cd $(CCTK_HOME)/doc/ThornGuide/build; \ - $(MAKE) -f $(CCTK_HOME)/doc/ThornGuide/Makefile PERL=$(PERL) CCTK_HOME=$(CCTK_HOME) THORNS=$(THORNS) ARRANGEMENTS=$(ARRANGEMENTS); \ + $(MAKE) -f $(CCTK_HOME)/doc/ThornGuide/Makefile PERL=$(PERL) CCTK_HOME=$(CCTK_HOME) THORNS=$(THORNS) ARRANGEMENTS=$(ARRANGEMENTS) TOCDEPTH=$(TOCDEPTH); \ cp ThornGuide.ps $(CCTK_HOME)/doc/ThornGuide.ps @echo " ThornGuide.ps created in doc directory." @echo " Done." @@ -959,7 +959,7 @@ ThornGuide.pdf: mkdir $(CCTK_HOME)/doc/ThornGuide/build; @echo " Processing...." cd $(CCTK_HOME)/doc/ThornGuide/build; \ - $(MAKE) -f $(CCTK_HOME)/doc/ThornGuide/Makefile ThornGuide.pdf PERL=$(PERL) CCTK_HOME=$(CCTK_HOME) THORNS=$(THORNS) ARRANGEMENTS=$(ARRANGEMENTS); \ + $(MAKE) -f $(CCTK_HOME)/doc/ThornGuide/Makefile ThornGuide.pdf PERL=$(PERL) CCTK_HOME=$(CCTK_HOME) THORNS=$(THORNS) ARRANGEMENTS=$(ARRANGEMENTS) TOCDEPTH=$(TOCDEPTH); \ cp ThornGuide.pdf $(CCTK_HOME)/doc/ThornGuide.pdf @echo " ThornGuide.pdf created in doc directory." @echo " Done." @@ -978,7 +978,7 @@ $(addsuffix -ThornGuide,$(CONFIGURATIONS)): mkdir $(CONFIGS_DIR)/$(@:%-ThornGuide=%)/doc/build if test -r $(CONFIGS_DIR)/$(@:%-ThornGuide=%)/ThornList ; then \ cd $(CONFIGS_DIR)/$(@:%-ThornGuide=%)/doc/build; \ - $(MAKE) -f $(CCTK_HOME)/doc/ThornGuide/Makefile THORNLIST=$(CONFIGS_DIR)/$(@:%-ThornGuide=%)/ThornList CCTK_HOME=$(CCTK_HOME) PERL=$(PERL) MASTER_FILE=ThornGuide-$(@:%-ThornGuide=%); \ + $(MAKE) -f $(CCTK_HOME)/doc/ThornGuide/Makefile THORNLIST=$(CONFIGS_DIR)/$(@:%-ThornGuide=%)/ThornList CCTK_HOME=$(CCTK_HOME) PERL=$(PERL) MASTER_FILE=ThornGuide-$(@:%-ThornGuide=%) TOCDEPTH=$(TOCDEPTH); \ cp ThornGuide-$(@:%-ThornGuide=%).ps $(CCTK_HOME)/doc/ThornGuide-$(@:%-ThornGuide=%).ps; \ fi @echo " ThornGuide-$(@:%-ThornGuide=%).ps created in doc directory." @@ -1109,4 +1109,3 @@ downsize: fi ; \ fi @echo $(DIVIDER) - -- cgit v1.2.3