Adding htmldoc target
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Oct 2002 15:50:10 +0000 (15:50 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Oct 2002 15:50:10 +0000 (15:50 +0000)
Makefile
html/.rootrc

index 8085cb0..d503860 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -183,7 +183,7 @@ include build/dummy.d
 
 # targets
 
-.PHONY:                alilibs aliroot makedistr clean
+.PHONY:                alilibs aliroot makedistr clean htmldoc
 
 modules: $(patsubst %,%/module.mk,$(MODULES))  
 
@@ -301,3 +301,23 @@ ifndef ALIQUIET
        @echo "***** Cleaning up binary files *****"
 endif
        $(MUTE)rm -rf bin/tgt_$(ALICE_TARGET)
+
+htmldoc:
+       @rm -rf html/roothtml
+       @rm -f  html/picts
+       @rm -f /tmp/macros
+       @cd html ;\
+       aliroot -q -b "mkhtml.C(0,1)" ;\
+       ls ../macros/*.C > /tmp/macros ;\
+       for i in $(ALIROOTMODULES) ; do \
+               ls ../$$i/*.C 2>/dev/null >> /tmp/macros ;\
+       done ;\
+       for i in `cat /tmp/macros` ; do \
+               echo $$i ; \
+               aliroot -b -q "mkhtml.C(\"$$i\")" > /dev/null ;\
+       done ;\
+       ./makeExampleList ;
+       @ln -s ../picts html/picts
+       @ln -s ../../picts html/roothtml/picts
+       @ln -s ../../../picts html/roothtml/src/picts
+       @ln -s ../../../picts html/roothtml/examples/picts
index 755792f..6591833 100644 (file)
@@ -9,7 +9,7 @@ WinNT.*.Root.MacroPath:     ./;$(ROOTSYS)/macros
 
 # THtml specific settings.
 Root.Html.OutputDir:         roothtml
-Unix.*.Root.Html.SourceDir:  ../ALIROOT/:../CASTOR/:../EVGEN/:../FMD/:../ITS/:../MUON/:../PDF/:../PHOS/:../PMD/:../RICH/:../STEER/:../STRUCT/:../TGeant3/:../TOF/:../TPC/:../TRD/:../ZDC/:../START:../RALICE:../CONTAINERS:../THijing:../TGeant4
+Unix.*.Root.Html.SourceDir:  ./:../
 #WinNT.*.Root.Html.SourceDir: ./
 Root.Html.Author:           //--- Author:
 #Root.Html.Copyright:        * Copyright