--- projects/cms/source/server/Makefile 2000/12/14 19:54:29 1.10 +++ projects/cms/source/server/Makefile 2001/01/16 01:11:38 1.12 @@ -1,14 +1,14 @@ # Makefile for server -# $Id: Makefile,v 1.10 2000/12/14 19:54:29 tdb Exp $ +# $Id: Makefile,v 1.12 2001/01/16 01:11:38 tdb Exp $ include Config.inc all : build -idl : +genidl : cd idl && $(MAKE) idl -buildidl : idl +buildidl : genidl cd idl && $(MAKE) build code : buildidl @@ -26,6 +26,7 @@ clean : cd uk/ac/ukc/iscream && $(MAKE) clean rm -Rf $(BUILDCHECK) $(IDLCHECK) rm -Rf $(CVSBUILDTEMP) + rm -Rf doc doctemp distclean : clean cd $(BUILD) && rm -f $(CLPATH) @@ -53,5 +54,13 @@ cvsbuild : cd $(CVSBUILDTEMP) && $(MAKE) build cp $(CVSBUILDTEMP)/build/$(TARGZFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(TARGZEXT) cp $(CVSBUILDTEMP)/build/$(ZIPFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(ZIPEXT) + +javadoc : genidl + if test ! -d "$(DOCDIR)"; then mkdir $(DOCDIR); fi + if test ! -d "$(DOCTMPDIR)"; then mkdir $(DOCTMPDIR); fi + cp -R $(SERVERROOT)/uk $(SERVERROOT)/$(DOCTMPDIR) + cp -R $(SERVERROOT)/idl/uk $(SERVERROOT)/$(DOCTMPDIR) + javadoc -d $(SERVERROOT)/$(DOCDIR) -sourcepath $(SERVERROOT)/$(DOCTMPDIR) -classpath $(JCCLASSPATH) -author -version -private $(PKGLIST) + rm -Rf doctemp include $(MKINC)