]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add doc++ generated html output.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Jul 1999 15:47:10 +0000 (15:47 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Jul 1999 15:47:10 +0000 (15:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@1563 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/auto/Makefile

index 3bc3e565517fcb7bf66d5d9a2cf6d0bdad8b5d2b..f75a7b2f7f356778ec69f0ee780a7d390a5dfbec 100644 (file)
@@ -48,7 +48,7 @@ kdoc.library-files.rerun = $(kdoc.library-files:%.kdoc=%.kdoc.rerun)
 
 KDOCFLAGS   = -I../scripts/kdoc ../scripts/kdoc/kdoc -a -p
 ifeq ($(shell uname),SunOS)
-DOCPP = /home/people/kanschat/bin/doc++
+DOCPP = /home/people/wolf/Config/doc++/doc++
 else
 DOCPP = doc++
 endif
@@ -61,10 +61,20 @@ default: kdoc kdoc/names.html
 # changes in the last 100 days
 all: default cvslog
 
+
+#################################################################################
+##  targets for cvslog generated HTML output    
+#################################################################################
+
 cvslog:
        cd ../.. ; perl doc/auto/scripts/cvs2html -o doc/auto/cvs-backlog/newdeal -a -k -D 100
 
 
+
+#################################################################################
+##  targets for kdoc generated HTML output    
+#################################################################################
+
 # make the .kdoc files twice: once without and a second time with
 # crossreferencing the other libraries
 kdoc: $(kdoc.library-files) $(kdoc.library-files.rerun)
@@ -101,6 +111,12 @@ kdoc/names.html: $(kdoc.libray-files)
        @cd kdoc ; perl ../scripts/index.pl *.kdoc > names.html
 
 
+
+
+#################################################################################
+##  targets for DOC++ generated latex output    
+#################################################################################
+
 # generate the input file for doc++
 %.doc++: Makefile
        @echo $(kdoc.$(subst .doc++,,$(subst latex/,,$@)))  | \
@@ -157,9 +173,37 @@ latex/deal_II_technical_reference.tex: latex/base.tex1 latex/lac.tex1 latex/deal
        dvips $< -o $@
 
 
+
+
+#################################################################################
+##  targets for DOC++ generated HTML output    
+#################################################################################
+doc++: doc++/base/index.html doc++/lac/index.html doc++/dealII/index.html
+
+# generate one of the html-output files; this needs the respective
+# include file for DOC++
+#
+# delete the .doc++ files immediately again, since they are no more 
+# used and since this forces make to re-make the .html-file each time
+# we ask for it; the right way to do so would be to use dependencies,
+# but it is hard to compute them from the '%'-sign used in the rule
+doc++/%/index.html: %.doc++
+       cp $^ $(patsubst %/index.html,%,$@)
+       cd $(patsubst %/index.html,%,$@) ; perl -pi -e 's!: ../!: ../../!g;' $^
+       cd $(patsubst %/index.html,%,$@) ; $(DOCPP) -p -H -u -G -S -a $^
+       cd $(patsubst %/index.html,%,$@) ; rm $^
+       rm $^
+
+
+
+
+#################################################################################
+##  administrativa
+#################################################################################
 clean:
        -rm -f kdoc/names.html kdoc/*.kdoc kdoc/*/*.html cvs-backlog/*.html \
-               latex/base.* latex/lac.* latex/dealII.* latex/deal_II_technical_reference.*
+               latex/base.* latex/lac.* latex/dealII.* latex/deal_II_technical_reference.* \
+               doc++/base/* doc++/lac/* doc++/dealII/*
 
 
-.PHONY: default all kdoc $(kdoc.library-files) $(kdoc.library-files.rerun) clean
+.PHONY: default all kdoc $(kdoc.library-files) $(kdoc.library-files.rerun) doc++ clean

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.