summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-06-04 18:34:31 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-06-04 18:34:31 +0000
commitd384ea6f595f4d986696dc823da2ff370360cd54 (patch)
tree16cb13fbf5bd5db15ac1531f691201bfd5e1b391 /Makefile
parent7512776797dad99c6072c046631d040f5817bdee (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
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