aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/README.svn21
l---------deque/svn-prepare.sh1
-rw-r--r--extended/Makefile33
l---------flite/svn-prepare.sh1
l---------gfsm/svn-prepare.sh1
l---------locale/svn-prepare.sh1
l---------readdir/svn-prepare.sh1
l---------sprinkler/svn-prepare.sh1
l---------weightmap/svn-prepare.sh1
9 files changed, 51 insertions, 10 deletions
diff --git a/common/README.svn b/common/README.svn
new file mode 100644
index 0000000..2fc9816
--- /dev/null
+++ b/common/README.svn
@@ -0,0 +1,21 @@
+To build from subversion sources, do the following:
+
+ ./svn-prepare.sh
+ ./autogen.sh
+ ./configure
+ make
+ make install
+
+You will need recent versions of GNU automake and
+autoconf in order to build from the SVN tree.
+
+The './svn-prepare.sh' script requires some shared code
+in the directory ../common (relative to the package root
+directory).
+
+The README.txt file in the distribution is auto-generated
+from perl ".pod" format by the "pod2text" included in most
+Perl distributions.
+
+marmosets,
+ Bryan
diff --git a/deque/svn-prepare.sh b/deque/svn-prepare.sh
new file mode 120000
index 0000000..12a9e5b
--- /dev/null
+++ b/deque/svn-prepare.sh
@@ -0,0 +1 @@
+../common/svn-prepare.sh \ No newline at end of file
diff --git a/extended/Makefile b/extended/Makefile
index 8894182..9dfef79 100644
--- a/extended/Makefile
+++ b/extended/Makefile
@@ -25,7 +25,7 @@ SUBDIRS = \
MOOCOW_DIR ?=$(shell pwd)
MOOCOW_BUILD ?=$(MOOCOW_DIR)/build.moo
MOOCOW_MFLAGS ?=DESTDIR=""
-MOOCOW_BUILD_VERSION ?=2009-03-07.001
+MOOCOW_BUILD_VERSION ?=2009-03-07.002
CONFIGURE_ARGS=\
CFLAGS="$(CFLAGS)" \
@@ -46,6 +46,10 @@ ONFAIL ?= echo "(MOOCOW) Warning: sub-target failed: '$@'"
CFLAGS ?= -g -O2 -Wall -Winline -W
pd_src ?= $(CURDIR)/../../../pd
+##-- LN_S : make a symlink (for common code)
+#LN_S ?= ln -s
+LN_S ?= cp -a
+
##======================================================================
## Rules: default
all: build.stamp
@@ -56,7 +60,8 @@ all: build.stamp
DUMMY_DIR ?=../dummy
DUMMY_CONFIGURE_ARGS ?=--disable-shared
dummy.autogen_stamp:
- (cd $(DUMMY_DIR); sh ./prepare-svn.sh) || $(ONFAIL)
+ test -e $(DUMMY_DIR)/common || $(LN_S) ../common $(DUMMY_DIR)/common || $(ONFAIL)
+# (cd $(DUMMY_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
# (cd $(DUMMY_DIR); sh ./autogen.sh) || $(ONFAIL)
touch $@
@@ -88,7 +93,8 @@ FLITE_DIR ?=../flite
#FLITE_CONFIGURE_ARGS ?=
flite.autogen_stamp:
- (cd $(FLITE_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
+ test -e $(FLITE_DIR)/common || $(LN_S) ../common $(FLITE_DIR)/common || $(ONFAIL)
+# (cd $(FLITE_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
# (cd $(FLITE_DIR); sh ./autogen.sh) || $(ONFAIL)
touch $@
@@ -120,7 +126,8 @@ GFSM_DIR ?=../gfsm
#GFSM_CONFIGURE_ARGS ?=
gfsm.autogen_stamp:
- (cd $(GFSM_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
+ test -e $(GFSM_DIR)/common || $(LN_S) ../common $(GFSM_DIR)/common || $(ONFAIL)
+# (cd $(GFSM_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
# (cd $(GFSM_DIR); sh ./autogen.sh) || $(ONFAIL)
touch $@
@@ -150,7 +157,8 @@ gfsm.cvsclean: gfsm.extclean
DEQUE_DIR ?=../deque
DEQUE_CONFIGURE_ARGS ?=
deque.autogen_stamp:
- (cd $(DEQUE_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
+ test -e $(DEQUE_DIR)/common || $(LN_S) ../common $(DEQUE_DIR)/common || $(ONFAIL)
+# (cd $(DEQUE_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
# (cd $(DEQUE_DIR); sh ./autogen.sh) || $(ONFAIL)
touch $@
@@ -182,7 +190,8 @@ LOCALE_DIR ?=../locale
#LOCALE_CONFIGURE_ARGS ?=
locale.autogen_stamp:
- (cd $(LOCALE_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
+ test -e $(LOCALE_DIR)/common || $(LN_S) ../common $(LOCALE_DIR)/common || $(ONFAIL)
+# (cd $(LOCALE_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
# (cd $(LOCALE_DIR); sh ./autogen.sh) || $(ONFAIL)
touch $@
@@ -212,7 +221,8 @@ locale.cvsclean: locale.extclean
PDSTRING_DIR ?=../pdstring
PDSTRING_CONFIGURE_ARGS ?=--enable-object-externals
pdstring.autogen_stamp:
- (cd $(PDSTRING_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
+ test -e $(PDSTRING_DIR)/common || $(LN_S) ../common $(PDSTRING_DIR)/common || $(ONFAIL)
+# (cd $(PDSTRING_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
# (cd $(PDSTRING_DIR); sh ./autogen.sh) || $(ONFAIL)
touch $@
@@ -242,7 +252,8 @@ pdstring.cvsclean: pdstring.extclean
READDIR_DIR ?=../readdir
READDIR_CONFIGURE_ARGS ?=
readdir.autogen_stamp:
- (cd $(READDIR_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
+ test -e $(READDIR_DIR)/common || $(LN_S) ../common $(READDIR_DIR)/common || $(ONFAIL)
+# (cd $(READDIR_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
# (cd $(READDIR_DIR); sh ./autogen.sh) || $(ONFAIL)
touch $@
@@ -273,7 +284,8 @@ readdir.cvsclean: readdir.extclean
SPRINKLER_DIR ?=../sprinkler
SPRINKLER_CONFIGURE_ARGS ?=
sprinkler.autogen_stamp:
- (cd $(SPRINKLER_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
+ test -e $(SPRINKLER_DIR)/common || $(LN_S) ../common $(SPRINKLER_DIR)/common || $(ONFAIL)
+# (cd $(SPRINKLER_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
# (cd $(SPRINKLER_DIR); sh ./autogen.sh) || $(ONFAIL)
touch $@
@@ -303,7 +315,8 @@ sprinkler.cvsclean: sprinkler.extclean
WEIGHTMAP_DIR ?=../weightmap
WEIGHTMAP_CONFIGURE_ARGS ?=
weightmap.autogen_stamp:
- (cd $(WEIGHTMAP_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
+ test -e $(WEIGHTMAP_DIR)/common || $(LN_S) ../common $(WEIGHTMAP_DIR)/common || $(ONFAIL)
+# (cd $(WEIGHTMAP_DIR); sh ./svn-prepare.sh copy) || $(ONFAIL)
# (cd $(WEIGHTMAP_DIR); sh ./autogen.sh) || $(ONFAIL)
touch $@
diff --git a/flite/svn-prepare.sh b/flite/svn-prepare.sh
new file mode 120000
index 0000000..12a9e5b
--- /dev/null
+++ b/flite/svn-prepare.sh
@@ -0,0 +1 @@
+../common/svn-prepare.sh \ No newline at end of file
diff --git a/gfsm/svn-prepare.sh b/gfsm/svn-prepare.sh
new file mode 120000
index 0000000..12a9e5b
--- /dev/null
+++ b/gfsm/svn-prepare.sh
@@ -0,0 +1 @@
+../common/svn-prepare.sh \ No newline at end of file
diff --git a/locale/svn-prepare.sh b/locale/svn-prepare.sh
new file mode 120000
index 0000000..12a9e5b
--- /dev/null
+++ b/locale/svn-prepare.sh
@@ -0,0 +1 @@
+../common/svn-prepare.sh \ No newline at end of file
diff --git a/readdir/svn-prepare.sh b/readdir/svn-prepare.sh
new file mode 120000
index 0000000..12a9e5b
--- /dev/null
+++ b/readdir/svn-prepare.sh
@@ -0,0 +1 @@
+../common/svn-prepare.sh \ No newline at end of file
diff --git a/sprinkler/svn-prepare.sh b/sprinkler/svn-prepare.sh
new file mode 120000
index 0000000..12a9e5b
--- /dev/null
+++ b/sprinkler/svn-prepare.sh
@@ -0,0 +1 @@
+../common/svn-prepare.sh \ No newline at end of file
diff --git a/weightmap/svn-prepare.sh b/weightmap/svn-prepare.sh
new file mode 120000
index 0000000..12a9e5b
--- /dev/null
+++ b/weightmap/svn-prepare.sh
@@ -0,0 +1 @@
+../common/svn-prepare.sh \ No newline at end of file