Added target for smell checker
[u/mrichter/AliRoot.git] / build / clean.tpl
CommitLineData
651e35f1 1#-*- Mode: Makefile -*-
d47d6108 2
c4b5b7b8 3
4reveng-@MODULE@: @MODULE@/check/classDiagram.dot
5
6@MODULE@/check/classDiagram.dot: $(PACKREVENG)
7 @$(REV_ENG) $^
8 @-mv classDiagram.dot $@
9
10revdisp-@MODULE@: reveng-@MODULE@
11 @echo revdisp for @MODULE@
12 @cd @MODULE@/check ; \
13 $(IRST_INSTALLDIR)/webreveng/create-class-diagram-pages.sh
cd604fcb 14 @sed -e "s/STEER/@MODULE@/g" < $(IRST_INSTALLDIR)/webreveng/WWW/STEER/HomePage.html > @MODULE@/check/HomePage.html
c4b5b7b8 15
16PACKREVENG =
17
d47d6108 18# Clean option for the whole module
19clean-@MODULE@:
15142e2f 20ifndef ALIQUIET
d47d6108 21 @echo "***** Cleaning @MODULE@ *****"
15142e2f 22endif
23 $(MUTE)rm @MODULE@/module.mk
24 $(MUTE)rm -rf @MODULE@/tgt_$(ALICE_TARGET)
25 $(MUTE)rm -f $(@MODULE@LIBS)
26 $(MUTE)rm -f $(@MODULE@BINS)
ac881f3b 27
28clean-check-@MODULE@:
29ifndef ALIQUIET
30 @echo "***** Cleaning code check for @MODULE@ *****"
31endif
53e972b5 32 $(MUTE)rm -f `find @MODULE@/check -name '*.i'` `find @MODULE@/check -name '*.ii'` `find @MODULE@/check -name '*.viol'`
ac881f3b 33
5b0f3b29 34clean-smell-@MODULE@:
35ifndef ALIQUIET
36 @echo "***** Cleaning code smell for @MODULE@ *****"
37endif
38 $(MUTE)rm -f `find @MODULE@/check -name '*.ml'` `find @MODULE@/check -name '*.smell'`
39
ac881f3b 40clean-reveng-@MODULE@:
41ifndef ALIQUIET
42 @echo "***** Cleaning reverse engineering files for @MODULE@ *****"
43endif
53e972b5 44 $(MUTE)rm -f `find @MODULE@/check -name '*.dot'`
ac881f3b 45