]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add doxygen to default targets
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Apr 2005 12:43:39 +0000 (12:43 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Apr 2005 12:43:39 +0000 (12:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@10526 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/Makefile

index 21e25e710d8f4cdd7099d572ce6da9146d486125..d7b5a3ccd464228b1b82f94e8484f6af69c7040f 100644 (file)
@@ -9,13 +9,13 @@ steps = $(shell echo step-? step-??)
 
 # default is: build all examples. for each example, there is a target
 # build-step-N, where N in [1...]
-default: $(addprefix build-,$(steps))
+default: $(addprefix build-,$(steps)) doxygen
 
 # run example programs; make a target run-step-N for each N
-run: $(addprefix run-,$(steps))
+run: $(addprefix run-,$(steps)) run-doxygen
 
 # clean subdirs; make a target clean-step-N for each N
-clean: $(addprefix clean-,$(steps))
+clean: $(addprefix clean-,$(steps)) clean-doxygen
 
 
 
@@ -27,10 +27,16 @@ run-step-%:
        cd $(@:run-%=%) ; $(MAKE) run
 clean-step-%:
        cd $(@:clean-%=%) ; $(MAKE) clean
-
+doxygen:
+       cd doxygen ; $(MAKE)
+run-doxygen:
+       cd doxygen ; $(MAKE) run
+clean-doxygen:
+       cd doxygen ; $(MAKE) clean
 
 # all targets in this directory do not produce files, so they are
 # .PHONY:
 .PHONY: $(addprefix build-step-,$(steps)) \
         $(addprefix run-step-,$(steps))   \
-        $(addprefix clean-step-,$(steps))
+        $(addprefix clean-step-,$(steps)) \
+       doxygen doxygen-run doxygen-clean
\ No newline at end of file

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.