[Csmail-patches] CVS: csmail/src CSMail.build,1.2,1.3 ChangeLog,1.2,1.3 makefile,1.3,1.4
Status: Pre-Alpha
Brought to you by:
mastergaurav
From: Gaurav V. <mas...@us...> - 2002-09-04 06:31:17
|
Update of /cvsroot/csmail/csmail/src In directory usw-pr-cvs1:/tmp/cvs-serv15906 Modified Files: CSMail.build ChangeLog makefile Log Message: 2002-09-04 * makefile : Added target "doc" * CSMail.build : Added target "doc" Index: CSMail.build =================================================================== RCS file: /cvsroot/csmail/csmail/src/CSMail.build,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- CSMail.build 20 Jun 2002 11:15:44 -0000 1.2 +++ CSMail.build 4 Sep 2002 06:31:14 -0000 1.3 @@ -21,4 +21,16 @@ <delete file="../lib/CSMail.dll" failonerror="false"/> <delete dir="../lib" failonerror="false"/> </target> + + <target name="doc"> + <echo message="Generating the CSMail library documentation..."/> + <mkdir dir="../lib"/> + <csc target="library" output="../lib/CSMail.dll" debug="${debug}" doc="../lib/CSMail.xml"> + <arg value="/nowarn:1591"/> <!-- Missing XML comment --> + <sources> + <includes name="CSMail/*.cs"/> + <includes name="CSMail.Utils/*.cs"/> + </sources> + </csc> + </target> </project> Index: ChangeLog =================================================================== RCS file: /cvsroot/csmail/csmail/src/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ChangeLog 20 Jun 2002 11:02:12 -0000 1.2 +++ ChangeLog 4 Sep 2002 06:31:14 -0000 1.3 @@ -1,4 +1,9 @@ +2002-09-04 Gaurav Vaish <mastergaurav AT users DOT sf DOT net> + + * makefile : Added target "doc" + * CSMail.build : Added target "doc" + 2002-06-20 Gaurav Vaish <mastergaurav AT users DOT sf DOT net> * Added directory CSMail.Utils Index: makefile =================================================================== RCS file: /cvsroot/csmail/csmail/src/makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- makefile 20 Jun 2002 02:56:01 -0000 1.3 +++ makefile 4 Sep 2002 06:31:14 -0000 1.4 @@ -1,6 +1,10 @@ NANT = ../nant/NAnt.exe BUILD_FILE = CSMail.build +CSC = csc.exe /nologo +NOWARN = /nowarn:1591 +TLIB = /target:library + all: lib linux: lib @@ -9,6 +13,11 @@ lib: @$(NANT) -buildfile:$(BUILD_FILE) build + +doc: + $(CSC) $(NOWARN) $(TLIB) /out:../lib/CSMail.dll /doc:../lib/CSMail.xml CSMail\\*.cs CSMail.Utils\\*.cs + +# @$(NANT) -buildfile:$(BUILD_FILE) doc clean: @rm -f *~ .*~ |