From e7bd2d1954b8e9ec7b9d5e3b1dae30ef97d69032 Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Sat, 7 Mar 2009 20:58:22 +0000 Subject: + eliminated build-time dependence on svn:special symlinks svn path=/trunk/externals/moocow/; revision=10845 --- weightmap/Makefile.am | 4 ++-- weightmap/Makefile.in | 12 ++++++------ weightmap/README.cvs | 16 ---------------- weightmap/README.svn | 21 +++++++++++++++++++++ weightmap/aclocal.m4 | 2 +- weightmap/configure | 24 ++++++++++++------------ weightmap/configure.ac | 4 ++-- weightmap/m4 | 1 - weightmap/pdexternal.am | 1 - weightmap/src/Makefile.am | 6 ++++-- weightmap/src/Makefile.in | 11 ++++++----- weightmap/src/mooPdUtils.h | 1 - weightmap/svn-prepare.sh | 1 + 13 files changed, 55 insertions(+), 49 deletions(-) delete mode 100644 weightmap/README.cvs create mode 100644 weightmap/README.svn delete mode 120000 weightmap/m4 delete mode 120000 weightmap/pdexternal.am delete mode 120000 weightmap/src/mooPdUtils.h create mode 120000 weightmap/svn-prepare.sh (limited to 'weightmap') diff --git a/weightmap/Makefile.am b/weightmap/Makefile.am index cdf1a87..be7a3f3 100644 --- a/weightmap/Makefile.am +++ b/weightmap/Makefile.am @@ -9,14 +9,14 @@ #----------------------------------------------------------------------- # Includes #----------------------------------------------------------------------- -include $(top_srcdir)/pdexternal.am +include $(top_srcdir)/common/pdexternal.am ##----------------------------------------------------------------------- ## Options & Subdirectories #----------------------------------------------------------------------- ##-- aclocal options (top level only) -ACLOCAL_AMFLAGS = -I m4 +ACLOCAL_AMFLAGS = -I common/m4 ## --- automake options (top level only) #AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-zip diff --git a/weightmap/Makefile.in b/weightmap/Makefile.in index 0376c0e..0257032 100644 --- a/weightmap/Makefile.in +++ b/weightmap/Makefile.in @@ -47,11 +47,11 @@ NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(top_srcdir)/configure \ - $(top_srcdir)/pdexternal.am COPYING depcomp install-sh missing + $(srcdir)/Makefile.in $(top_srcdir)/common/pdexternal.am \ + $(top_srcdir)/configure COPYING depcomp install-sh missing subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pd_external.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/common/m4/ax_pd_external.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) @@ -232,7 +232,7 @@ MAINTAINERCLEANFILES = *~ \ #----------------------------------------------------------------------- #----------------------------------------------------------------------- -ACLOCAL_AMFLAGS = -I m4 +ACLOCAL_AMFLAGS = -I common/m4 #AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-zip AUTOMAKE_OPTIONS = foreign @@ -248,7 +248,7 @@ all: all-recursive .SUFFIXES: .@PDEXT@ .pod .txt .html am--refresh: @: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/pdexternal.am $(am__configure_deps) +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/common/pdexternal.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -416,7 +416,7 @@ distclean-tags: distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) - $(mkdir_p) $(distdir)/m4 + $(mkdir_p) $(distdir)/common $(distdir)/common/m4 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ diff --git a/weightmap/README.cvs b/weightmap/README.cvs deleted file mode 100644 index 96b1253..0000000 --- a/weightmap/README.cvs +++ /dev/null @@ -1,16 +0,0 @@ -To build from cvs, do the following: - - ./autogen.sh - ./configure - make - make install - -You will need recent versions of GNU automake and -autoconf in order to build from the CVS tree. - -NOTE: 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/weightmap/README.svn b/weightmap/README.svn new file mode 100644 index 0000000..2fc9816 --- /dev/null +++ b/weightmap/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/weightmap/aclocal.m4 b/weightmap/aclocal.m4 index 4ab8160..0cdbeac 100644 --- a/weightmap/aclocal.m4 +++ b/weightmap/aclocal.m4 @@ -889,4 +889,4 @@ AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR -m4_include([m4/ax_pd_external.m4]) +m4_include([common/m4/ax_pd_external.m4]) diff --git a/weightmap/configure b/weightmap/configure index c471c93..0b521c2 100755 --- a/weightmap/configure +++ b/weightmap/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for weightmap 0.01-1. +# Generated by GNU Autoconf 2.61 for weightmap 0.01-2. # # Report bugs to . # @@ -574,8 +574,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='weightmap' PACKAGE_TARNAME='weightmap' -PACKAGE_VERSION='0.01-1' -PACKAGE_STRING='weightmap 0.01-1' +PACKAGE_VERSION='0.01-2' +PACKAGE_STRING='weightmap 0.01-2' PACKAGE_BUGREPORT='moocow@ling.uni-potsdam.de' ac_default_prefix=/usr/local @@ -1189,7 +1189,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures weightmap 0.01-1 to adapt to many kinds of systems. +\`configure' configures weightmap 0.01-2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1255,7 +1255,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of weightmap 0.01-1:";; + short | recursive ) echo "Configuration of weightmap 0.01-2:";; esac cat <<\_ACEOF @@ -1351,7 +1351,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -weightmap configure 0.01-1 +weightmap configure 0.01-2 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1365,7 +1365,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by weightmap $as_me 0.01-1, which was +It was created by weightmap $as_me 0.01-2, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ @@ -2047,7 +2047,7 @@ fi # Define the identity of the package. PACKAGE=weightmap - VERSION=0.01-1 + VERSION=0.01-2 cat >>confdefs.h <<_ACEOF @@ -3489,7 +3489,7 @@ else fi if test -n "$pdincludedir" ; then - IFLAGS="$IFLAGS -I$pdincludedir" + PDEXT_IFLAGS="$PDEXT_IFLAGS -I$pdincludedir" fi @@ -3557,7 +3557,7 @@ fi ##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv ## check: m_pd.h - CPPFLAGS="$CPPFLAGS $IFLAGS" + CPPFLAGS="$CPPFLAGS $PDEXT_IFLAGS" { echo "$as_me:$LINENO: checking for m_pd.h" >&5 echo $ECHO_N "checking for m_pd.h... $ECHO_C" >&6; } if test "${ac_cv_header_m_pd_h+set}" = set; then @@ -4315,7 +4315,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by weightmap $as_me 0.01-1, which was +This file was extended by weightmap $as_me 0.01-2, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4368,7 +4368,7 @@ Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -weightmap config.status 0.01-1 +weightmap config.status 0.01-2 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff --git a/weightmap/configure.ac b/weightmap/configure.ac index 6f2103d..9ef521e 100644 --- a/weightmap/configure.ac +++ b/weightmap/configure.ac @@ -4,13 +4,13 @@ AC_PREREQ(2.5) dnl Some handy macros define([THE_PACKAGE_NAME], [weightmap]) -define([THE_PACKAGE_VERSION], [0.01-1]) +define([THE_PACKAGE_VERSION], [0.01-2]) define([THE_PACKAGE_AUTHOR], [moocow@ling.uni-potsdam.de]) AC_INIT(THE_PACKAGE_NAME, THE_PACKAGE_VERSION, THE_PACKAGE_AUTHOR) ##-- Additional m4 macros -AC_CONFIG_MACRO_DIR(m4) +AC_CONFIG_MACRO_DIR(common/m4) ##-- source & aux AC_CONFIG_AUX_DIR(.) diff --git a/weightmap/m4 b/weightmap/m4 deleted file mode 120000 index 83ffc0c..0000000 --- a/weightmap/m4 +++ /dev/null @@ -1 +0,0 @@ -../common/m4 \ No newline at end of file diff --git a/weightmap/pdexternal.am b/weightmap/pdexternal.am deleted file mode 120000 index 914f4be..0000000 --- a/weightmap/pdexternal.am +++ /dev/null @@ -1 +0,0 @@ -../common/pdexternal.am \ No newline at end of file diff --git a/weightmap/src/Makefile.am b/weightmap/src/Makefile.am index 44a8fda..235e9bb 100644 --- a/weightmap/src/Makefile.am +++ b/weightmap/src/Makefile.am @@ -7,7 +7,7 @@ #----------------------------------------------------------------------- # Includes #----------------------------------------------------------------------- -include $(top_srcdir)/pdexternal.am +include $(top_srcdir)/common/pdexternal.am ## --- recursion subdirectories #SUBDIRS = @@ -34,4 +34,6 @@ pddoc_DATA = weightmap-help.pd # sources #----------------------------------------------------------------------- -weightmap_SOURCES = weightmap.c mooPdUtils.h +weightmap_SOURCES = weightmap.c $(top_srcdir)/common/mooPdUtils.h + +AM_CPPFLAGS = -I$(top_srcdir)/common diff --git a/weightmap/src/Makefile.in b/weightmap/src/Makefile.in index ce53fb0..d1f52e9 100644 --- a/weightmap/src/Makefile.in +++ b/weightmap/src/Makefile.in @@ -47,12 +47,12 @@ NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(srcdir)/config.h.in $(top_srcdir)/pdexternal.am + $(srcdir)/config.h.in $(top_srcdir)/common/pdexternal.am pdexterns_PROGRAMS = weightmap$(EXEEXT) EXTRA_PROGRAMS = weightmap$(EXEEXT) subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pd_external.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/common/m4/ax_pd_external.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) @@ -237,13 +237,14 @@ pddoc_DATA = weightmap-help.pd #----------------------------------------------------------------------- # sources #----------------------------------------------------------------------- -weightmap_SOURCES = weightmap.c mooPdUtils.h +weightmap_SOURCES = weightmap.c $(top_srcdir)/common/mooPdUtils.h +AM_CPPFLAGS = -I$(top_srcdir)/common all: config.h $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .@PDEXT@ .pod .txt .html .c .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/pdexternal.am $(am__configure_deps) +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/common/pdexternal.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -422,7 +423,7 @@ distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) - $(mkdir_p) $(distdir)/.. + $(mkdir_p) $(distdir)/../common @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ diff --git a/weightmap/src/mooPdUtils.h b/weightmap/src/mooPdUtils.h deleted file mode 120000 index 0bb3280..0000000 --- a/weightmap/src/mooPdUtils.h +++ /dev/null @@ -1 +0,0 @@ -../../common/mooPdUtils.h \ 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 -- cgit v1.2.1