I was recently importing my Tekkotsu projects into a Subversion
repository and discovered that after doing so Tekkotsu would no longer
build because the make file was trying to recurse into the .svn meta
information folders. To fix this problem I searched the make files for
the parts which were responsible for excluding the CVS folders and
added entries for to also exclude the .svn directories. The
modifications are below Note this is only for the project directory
and more files might need to be adjusted if one were going to keep the
whole Tekkotsu framework directory in a subversion repository. I
wonder if it would be a good idea to add these changes to the make
files in the official Tekkotsu distribution so that other people can
easily use subversion with Tekkotsu, unless there is something it
breaks which I am not aware of.
~Daniel C.
-----------------------------------------------
<project>/Makefile
Near the end:
for dir in `ls aperios` ; do \
if [ "$$dir" = "CVS" ] ; then continue; fi; \
if [ -f "aperios/$$dir" ] ; then continue; fi; \
Becomes:
for dir in `ls aperios` ; do \
if [ "$$dir" = "CVS" ] ; then continue; fi; \
if [ "$$dir" = ".svn" ] ; then continue; fi; \
if [ -f "aperios/$$dir" ] ; then continue; fi; \
---------------------------------------------
<project>/local/Makefile.local
Near the beginning the following lines are modified:
PROJ_EXECS:=$(filter-out CVS .svn,$(subst local/,,$(shell find local
-mindepth 1 -maxdepth 1 -type d -prune)))
EXECS:=$(sort $(PROJ_EXECS) $(filter-out CVS .svn,$(subst
$(TEKKOTSU_ROOT)/local/,,$(shell find $(TEKKOTSU_ROOT)/local -
---------------------------------------------
<project>/aperios/Makefile.aperios
Near the beginning the following lines are modified:
PROJ_OOBJECTS:=$(filter-out CVS .svn bin include lib share man,$(subst
aperios/,,$(shell find aperios -mindepth 1 -maxdepth 1 -type d -prune)))
OOBJECTS:=$(sort $(PROJ_OOBJECTS) $(filter-out CVS .svn bin include
lib share man,$(subst $(TEKKOTSU_ROOT)/aperios/,,$(shell find
$(TEKKOTSU_ROOT)/aperios -mindepth 1 -maxdepth 1 -type d -prune))))