From d384ea6f595f4d986696dc823da2ff370360cd54 Mon Sep 17 00:00:00 2001 From: allen Date: Tue, 4 Jun 2002 18:34:31 +0000 Subject: From Ian Kelley: Support for making a pdf version of the ThornGuide gmake ThornGuide.pdf This won't be documented since it doesn't yet support making the guide for configurations, or include figures. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2899 17b73243-c579-4c4c-a9d2-2d5706c11dac --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6dc178d9..7a3532f4 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ # # # @enddesc -# @version $Id: Makefile,v 1.137 2002-05-14 14:27:22 tradke Exp $ +# @version $Id: Makefile,v 1.138 2002-06-04 18:34:31 allen Exp $ # @@*/ ################################################################################## @@ -948,6 +948,18 @@ ThornGuide: @echo " Done." @echo $(DIVIDER) +.PHONY: ThornGuide.pdf +ThornGuide.pdf: + @echo $(DIVIDER) + @echo Creating thorn documentation ThornGuide.pdf + rm -rf $(CCTK_HOME)/doc/ThornGuide/build; + 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); \ + cp ThornGuide.pdf $(CCTK_HOME)/ThornGuide.pdf + @echo " Done." + @echo $(DIVIDER) # Run ThornGuide on a configuration -- cgit v1.2.3