From 2d9465a280ccf6609026acba5c57bfa8121b10d4 Mon Sep 17 00:00:00 2001 From: allen Date: Wed, 11 Apr 2001 10:39:19 +0000 Subject: New make target gmake ThornGuide which creates documentation from the documentation in each thorn (if it is there). This includes an automatically generated table of the parameters from param.ccl, similar tables will come soon for interface.ccl and schedule.ccl Still a couple of things to tweak. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2108 17b73243-c579-4c4c-a9d2-2d5706c11dac --- Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fa38c7ac..e9154b51 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ # # # @enddesc -# @version $Id: Makefile,v 1.107 2001-04-09 10:19:12 allen Exp $ +# @version $Id: Makefile,v 1.108 2001-04-11 10:39:17 allen Exp $ # @@*/ ################################################################################## @@ -345,6 +345,7 @@ endif @echo " thorninfo - give information about all available " @echo " thorns." @echo " UsersGuide - creates users manual UsersGuide.ps." + @echo " ThornGuide - creates the thorn manual ThornGuide.ps" @echo " - prompts to create such a configuration." @echo $(DIVIDER) @@ -796,6 +797,18 @@ UsersGuide: (cd doc/UsersGuide; latex UsersGuide.tex > $NULL_DEVICE; latex UsersGuide.tex > $NULL_DEVICE; dvips ./UsersGuide.dvi -o $(CCTK_HOME)/UsersGuide.ps >& $NULL_DEVICE) ; cd $(CCTK_HOME); @echo $(DIVIDER) +# Make the ThornGuide, new addition + +.PHONY: ThornGuide.ps +ThornGuide.ps: ThornGuide + +.PHONY: ThornGuide +ThornGuide: + @echo $(DIVIDER) + @echo Creating thorn documentation ThornGuide.ps + ($(PERL) -s lib/sbin/ParamLatex.pl -processall -grouping=bythorn -outdir=doc/ThornGuide/ -section; $(PERL) -s lib/sbin/ThornGuide.pl -directory=arrangements/ -outdir=doc/ThornGuide/; cd doc/ThornGuide; cp ../UsersGuide/bincactus2.eps bincactus.eps; latex ThornGuide.tex > $NULL_DEVICE; latex ThornGuide.tex > $NULL_DEVICE; dvips ./ThornGuide.dvi -o $(CCTK_HOME)/ThornGuide.ps >& $NULL_DEVICE) ; cd $(CCTK_HOME); + @echo $(DIVIDER) + .PHONY: MaintGuide.ps MaintGuide.ps: MaintGuide -- cgit v1.2.3