diff options
author | Jonathan Pryor <jpryor@novell.com> | 2003-10-12 05:02:32 +0400 |
---|---|---|
committer | Jonathan Pryor <jpryor@novell.com> | 2003-10-12 05:02:32 +0400 |
commit | 95b6672f5971d7033c77cd92108ede7c382ae6c7 (patch) | |
tree | 9644e1333aac85bb4262ee11fe13f2ecf8d6aefd /autogen.sh | |
parent | 1c9696406de469b686da8e389b52a519675adad0 (diff) |
Update build system so that RPMs can be easily built.
svn path=/trunk/mono-tools/; revision=18895
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,6 +4,12 @@ DIE=0 +# This is a horrible hack, but allows us to keep Makefile.am and autogen.sh in +# sync (regarding which directories we actually care about for building). + +subdirs=`cat subdirs` +cat Makefile.am.in | sed "s/@subdirs@/$subdirs/" > Makefile.am + srcdir=`dirname $0` test -z "$srcdir" && srcdir=. @@ -96,7 +102,7 @@ conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c # Let subdirs also run autogen.sh echo "Processing autogen.sh in subdirectories..." -for d in ./* ; do +for d in $subdirs ; do if [ -d "$d" -a -x "$d/autogen.sh" ]; then ( cd $d ; ./autogen.sh "$@" ) fi |