summaryrefslogtreecommitdiff
blob: f18497ab30cd156779c73af00d79dc4290d81cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# patch to properly build the docs as pdf and html

--- charm-5.9/doc/Makefile	2004-10-14 06:12:10.000000000 +0000
+++ charm-5.9-patched/doc/Makefile	2005-09-24 22:55:53.000000000 +0000
@@ -1,4 +1,4 @@
-IDIR=../../doc
+IDIR=./doc
 LNCMD=test ! -f pplmanual.sty && ln -f -s ../pplmanual.sty .
 RMCMD=rm -f ./pplmanual.sty
 DIRS=install converse convext charm++ libraries f90charm pose \
--- charm-5.9/doc/Makefile.common	2005-04-19 17:21:52.000000000 +0000
+++ charm-5.9-patched/doc/Makefile.common	2005-09-24 22:56:30.000000000 +0000
@@ -10,7 +10,7 @@
 # (optional) PROJECT_LINK: HTML to include at bottom of page
 
 # Destination directory for local copy of files (e.g., on user machine)
-DOCDIR=..
+DOCDIR=../doc
 
 # Destination directory for web-accessible copy of files (e.g., on PPL machines)
 WEBDIR=/www/ppl_manuals
@@ -71,12 +71,10 @@
 	-rm -fr index.tex $(FIG_CLEAN)
 
 # Build local copy of documentation:
-doc: all
+doc: pdf html
 	if [ ! -d $(DOCDIR) ] ; then mkdir $(DOCDIR) ; fi
-	if [ ! -d $(DOCDIR)/ps ] ; then mkdir $(DOCDIR)/ps ; fi
 	if [ ! -d $(DOCDIR)/pdf ] ; then mkdir $(DOCDIR)/pdf ; fi
 	if [ ! -d $(DOCDIR)/html ] ; then mkdir $(DOCDIR)/html ; fi
-	/bin/cp $(FILE).ps $(DOCDIR)/ps/$(DEST).ps
 	/bin/cp $(FILE).pdf $(DOCDIR)/pdf/$(DEST).pdf
 	/bin/rm -rf $(DOCDIR)/html/$(DEST)
 	/bin/cp -R $(FILE) $(DOCDIR)/html/$(DEST)