[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] VC update needed
From: |
bump |
Subject: |
Re: [gnugo-devel] VC update needed |
Date: |
Mon, 19 Sep 2005 15:40:21 -0700 |
Arend wrote:
> The addition of gogo.sgf and the new fuseki database means that the VC
> project files needs updating. For convenience, below is the patch to
> patterns/Makefile.am that needs to be duplicated.
It seems that we can guess the modifications needed to hack
in gogo.sgf (see below) but for the compressed databases it
really might be easier for someone who has access to VC
project to send us a patch.
Can anyone do this?
Dan
Index: patterns.dsp
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/patterns.dsp,v
retrieving revision 1.25
diff -u -r1.25 patterns.dsp
--- patterns.dsp 20 Jun 2004 14:08:17 -0000 1.25
+++ patterns.dsp 19 Sep 2005 22:45:08 -0000
@@ -232,6 +232,10 @@
# PROP Default_Filter ""
# Begin Source File
+SOURCE=.\gogo.db
+# End Source File
+# Begin Source File
+
SOURCE=.\hoshi_other.db
# End Source File
# Begin Source File
@@ -633,25 +637,25 @@
!IF "$(CFG)" == "patterns - Win32 Release"
-USERDEP__HOSHI="$(IntDir)\mkpat.exe" "hoshi_other.db" "komoku.db "
"sansan.db " "mokuhazushi.db " "takamoku.db "
+USERDEP__HOSHI="$(IntDir)\mkpat.exe" "gogo.db" "hoshi_other.db"
"komoku.db " "sansan.db " "mokuhazushi.db " "takamoku.db "
# Begin Custom Build
IntDir=.\Release
InputPath=.\hoshi_keima.db
"josekidb.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(IntDir)\mkpat -C joseki -i hoshi_keima.db -i hoshi_other.db -i
komoku.db -i sansan.db -i mokuhazushi.db -i takamoku.db -o josekidb.c
+ $(IntDir)\mkpat -C joseki -i hoshi_keima.db -i gogo.db -i
hoshi_other.db -i komoku.db -i sansan.db -i mokuhazushi.db -i takamoku.db -o
josekidb.c
# End Custom Build
!ELSEIF "$(CFG)" == "patterns - Win32 Debug"
-USERDEP__HOSHI="$(IntDir)\mkpat.exe" "hoshi_other.db" "komoku.db "
"sansan.db " "mokuhazushi.db " "takamoku.db "
+USERDEP__HOSHI="$(IntDir)\mkpat.exe" "gogo.db" "hoshi_other.db"
"komoku.db " "sansan.db " "mokuhazushi.db " "takamoku.db "
# Begin Custom Build
IntDir=.\Debug
InputPath=.\hoshi_keima.db
"josekidb.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(IntDir)\mkpat -C joseki -i hoshi_keima.db -i hoshi_other.db -i
komoku.db -i sansan.db -i mokuhazushi.db -i takamoku.db -o josekidb.c
+ $(IntDir)\mkpat -C joseki -i hoshi_keima.db -i gogo.db -i
hoshi_other.db -i komoku.db -i sansan.db -i mokuhazushi.db -i takamoku.db -o
josekidb.c
# End Custom Build
@@ -939,6 +943,39 @@
"hoshi_other.db" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(IntDir)\joseki JHO hoshi_other.sgf >hoshi_other.db
+
+# End Custom Build
+
+!ENDIF
+
+# End Source File
+# Begin Source File
+
+SOURCE=.\gogo.sgf
+
+!IF "$(CFG)" == "patterns - Win32 Release"
+
+# PROP Ignore_Default_Tool 1
+USERDEP__GOGO="$(IntDir)\joseki.exe"
+# Begin Custom Build
+IntDir=.\Release
+InputPath=.\gogo.sgf
+
+"gogo.db" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ $(IntDir)\joseki JHO gogo.sgf >gogo.db
+
+# End Custom Build
+
+!ELSEIF "$(CFG)" == "patterns - Win32 Debug"
+
+# PROP Ignore_Default_Tool 1
+USERDEP__GOGOO="$(IntDir)\joseki.exe"
+# Begin Custom Build
+IntDir=.\Debug
+InputPath=.\gogo.sgf
+
+"gogo.db" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ $(IntDir)\joseki JHO gogo.sgf >gogo.db
# End Custom Build