]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - build/clean.tpl
Added a README file to explain things a bit
[u/mrichter/AliRoot.git] / build / clean.tpl
index f36429d6168acffba461ba5379572db32dcc879f..68a2eb29af5405254552886af152e67917f13b3b 100644 (file)
@@ -1,3 +1,19 @@
+#-*- Mode: Makefile -*-
+
+
+reveng-@MODULE@:               @MODULE@/check/classDiagram.dot
+
+@MODULE@/check/classDiagram.dot:       $(PACKREVENG)
+       @$(REV_ENG) $^
+       @-mv classDiagram.dot $@
+
+revdisp-@MODULE@:      reveng-@MODULE@
+       @echo revdisp for @MODULE@
+       @cd @MODULE@/check ; \
+      $(IRST_INSTALLDIR)/webreveng/create-class-diagram-pages.sh
+       @sed -e "s/STEER/@MODULE@/g" < $(IRST_INSTALLDIR)/webreveng/WWW/STEER/HomePage.html > @MODULE@/check/HomePage.html
+
+PACKREVENG =
 
 #  Clean option for the whole module
 clean-@MODULE@:
@@ -8,3 +24,16 @@ endif
                $(MUTE)rm -rf @MODULE@/tgt_$(ALICE_TARGET) 
                $(MUTE)rm -f $(@MODULE@LIBS)
                $(MUTE)rm -f $(@MODULE@BINS)
+
+clean-check-@MODULE@:
+ifndef ALIQUIET
+               @echo "***** Cleaning code check for @MODULE@ *****"
+endif
+               $(MUTE)rm -f `find @MODULE@/check -name '*.i'` `find @MODULE@/check -name '*.ii'` `find @MODULE@/check -name '*.viol'`
+
+clean-reveng-@MODULE@:
+ifndef ALIQUIET
+               @echo "***** Cleaning reverse engineering files for @MODULE@ *****"
+endif
+               $(MUTE)rm -f `find @MODULE@/check -name '*.dot'`
+