]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Create the doc/doxygen/tutorial/{generated|plain|doxygen} folders during
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 May 2012 11:46:47 +0000 (11:46 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 May 2012 11:46:47 +0000 (11:46 +0000)
documentation generation

This is particularly useful if the deal.II library is locally managed by
a version control system that cannot track empty directories, such as git.

git-svn-id: https://svn.dealii.org/trunk@25538 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/doxygen/tutorial/Makefile

index 564aaa6d0595b8839bdf5fc4bd265b6471d1aaca..836c387594f8654380890403363ceb97845d54e6 100644 (file)
@@ -110,12 +110,14 @@ $(example-toc):
 
 $(example-dox-prog):
        @echo ================== Making $@
+       @mkdir -p generated
        @cat $D/examples/$(call get_basename, $@)/*.cc \
          | $(PERL) program2doxygen \
          > $@
 
 $(example-plain):
        @echo ================== Making $@
+       @mkdir -p plain
        @cat $D/examples/$(call get_basename, $(@F))/*cc | $(PERL) program2plain > $@
 
 $(example-dox-plain):
@@ -135,6 +137,7 @@ $(example-dox-plain):
 
 $(example-doxygen):
        @echo ================== Assembling $@
+       @mkdir -p doxygen
        @echo "/**" > $@
        @echo " * @page $(shell echo $(call get_basename,$@) | $(PERL) -pi -e 's/-/_/g;') \
                        The $(call get_basename,$@) tutorial program" >> $@

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.