From d7a221d07d9c4b1b03e1f071facf5ad87b6b6448 Mon Sep 17 00:00:00 2001 From: hristov Date: Mon, 21 Oct 2002 15:50:10 +0000 Subject: [PATCH] Adding htmldoc target --- Makefile | 22 +++++++++++++++++++++- html/.rootrc | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8085cb0e07a..d50386055d4 100644 --- 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 diff --git a/html/.rootrc b/html/.rootrc index 755792fc182..6591833d60f 100644 --- a/html/.rootrc +++ b/html/.rootrc @@ -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 -- 2.39.3