Reverse engineering of the full module
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 10 Feb 2006 14:56:04 +0000 (14:56 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 10 Feb 2006 14:56:04 +0000 (14:56 +0000)
build/clean.tpl
build/module.tpl

index 355d1f8..3d96941 100644 (file)
@@ -1,5 +1,20 @@
 #-*- 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/\@MODULE\@/@MODULE@/g" < $(IRST_INSTALLDIR)/webreveng/WWW/STEER/HomePage.html > @MODULE@/check/HomePage.html
+
+PACKREVENG =
+
 #  Clean option for the whole module
 clean-@MODULE@:
 ifndef ALIQUIET
index 8ce0310..2d8cb27 100644 (file)
@@ -376,15 +376,5 @@ check-@MODULE@: $(@PACKAGE@CHECKS)
 
 .SECONDARY: $(@PACKAGE@REVENGS) $(@PACKAGE@PREPROC)
 
-reveng-@PACKAGE@:              @PACKAGE@/check/classDiagram.dot
-
-@PACKAGE@/check/classDiagram.dot:      $(@PACKAGE@PREPROC)
-       @$(REV_ENG) $^
-       @-mv classDiagram.dot $@
-
-revdisp-@PACKAGE@:     reveng-@PACKAGE@
-       @echo revdisp for @PACKAGE@
-       @cd @PACKAGE@/check ; \
-      $(IRST_INSTALLDIR)/webreveng/create-class-diagram-pages.sh
-       @sed -e "s/\@PACKAGE\@/@PACKAGE@/g" < $(ALICE_ROOT)/build/HomePage.html > @PACKAGE@/check/HomePage.html
+PACKREVENG += $(@PACKAGE@PREPROC)