summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-04-11 10:39:19 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-04-11 10:39:19 +0000
commit2d9465a280ccf6609026acba5c57bfa8121b10d4 (patch)
tree64eab3930a50497fbcad24ece9d039a09ec97343 /Makefile
parentd62da9889bbd69a688061059d1d5e1c5b28f37cb (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 14 insertions, 1 deletions
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 " <anything else> - 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