*** empty log message ***
[m17n/m17n-lib-cs.git] / Makefile
index aa7e4eb..3baa87f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CS=gmcs
+CS=gmcs2
 DEBUG_FLAG = -debug
 CODEPAGE = 65001
 
@@ -26,22 +26,30 @@ M17NIM.dll: ${INPUT_SRC} M17N.dll M17NCore.dll XmlExpr.dll
        $(RUNCS) -out:$@ -t:library -r:M17N.dll -r:M17NCore.dll -r:XmlExpr.dll ${INPUT_SRC}
 
 XmlExpr.dll: ${XEX_SRC}
-       $(RUNCS) -out:$@ -t:library ${XEX_SRC}
+       $(RUNCS) -doc:XmlExpr.xml -out:$@ -t:library ${XEX_SRC}
 
 input.exe: input.cs M17NIM.dll XmlExpr.dll
-       $(RUNCS) -r:M17N.dll -r:M17NCore -r:XmlExpr -r:M17NIM.dll $<
+       $(RUNCS) -r:M17N.dll -r:M17NCore.dll -r:XmlExpr.dll -r:M17NIM.dll $<
 
 expr.exe: expr.cs
-       $(RUNCS) -r:M17N.dll -r:M17NCore -r:M17NExpr $<
+       $(RUNCS) -r:M17N.dll -r:M17NCore.dll -r:M17NExpr.dll $<
 
 xex.exe: xex.cs XmlExpr.dll
        $(RUNCS) -r:XmlExpr.dll $<
 
 %.exe: %.cs ${DLL}
-       $(RUNCS) -r:M17N.dll -r:M17NCore $<
+       $(RUNCS) -r:M17N.dll -r:M17NCore.dll $<
 
 clean:
        rm -f $(DLL) *.exe
 
 temp.exe: temp.cs
        $(CS) temp.cs
+
+test.exe: test.cs
+       $(CS) test.cs
+
+doc: XmlExpr.xml
+       mdoc-update -delete -i XmlExpr.xml -o docs/en XmlExpr.dll
+       mdoc assemble -o XmlExpr docs/en
+       sudo cp XmlExpr.tree XmlExpr.zip XmlExpr.source `pkg-config monodoc --variable sourcesdir`