1996-12-03 05:34:34 +00:00
|
|
|
dnl Process this file with autoconf to produce configure.
|
1996-07-25 22:56:11 +00:00
|
|
|
AC_INIT(Makefile.in)
|
Rehashed distribution system, in preparation for nightly
snapshots. Other changes in subdirectories.
* Makefile.in (dist): Rewritten --- the old target was out of
date, dependent on files that we don't have, and relied on GNU
tar. The new target is simpler.
(VERSION, srcdir, dist_dirs): New variables.
(DISTFILES): Renamed from localfiles. Added GUILE-VERSION and
TODO.
(localtreats): Variable removed. We don't have this file.
(info): cd to doc and make info there; don't make info in every
${subdir}; those Makefiles don't know what to do.
(distname, distdir, treats, announcefile): Variables removed.
(manifest-file): Target removed.
(dist-dir): New target, responsible for distributable files in
this directory.
(GZIP, GZIP_EXT, TAR_VERBOSE, DIST_NAME): New variables,
controlling the 'dist' target.
* configure.in: Substitute GUILE-VERSION into the top-level
Makefile. Build doc/Makefile from doc/Makefile.in.
1996-08-01 08:16:15 +00:00
|
|
|
. $srcdir/GUILE-VERSION
|
1996-12-03 05:34:34 +00:00
|
|
|
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
|
Rehashed distribution system, in preparation for nightly
snapshots. Other changes in subdirectories.
* Makefile.in (dist): Rewritten --- the old target was out of
date, dependent on files that we don't have, and relied on GNU
tar. The new target is simpler.
(VERSION, srcdir, dist_dirs): New variables.
(DISTFILES): Renamed from localfiles. Added GUILE-VERSION and
TODO.
(localtreats): Variable removed. We don't have this file.
(info): cd to doc and make info there; don't make info in every
${subdir}; those Makefiles don't know what to do.
(distname, distdir, treats, announcefile): Variables removed.
(manifest-file): Target removed.
(dist-dir): New target, responsible for distributable files in
this directory.
(GZIP, GZIP_EXT, TAR_VERBOSE, DIST_NAME): New variables,
controlling the 'dist' target.
* configure.in: Substitute GUILE-VERSION into the top-level
Makefile. Build doc/Makefile from doc/Makefile.in.
1996-08-01 08:16:15 +00:00
|
|
|
|
1996-12-03 05:34:34 +00:00
|
|
|
dnl FIXME: tsort, xargs not GNU standard.
|
1996-07-25 22:56:11 +00:00
|
|
|
all_subdirs=`cat $srcdir/*/PLUGIN/REQ $srcdir/*/PLUGIN/OPT /dev/null | tsort | xargs echo`
|
|
|
|
|
req_subdirs=`cat $srcdir/*/PLUGIN/REQ /dev/null | tsort | xargs echo`
|
|
|
|
|
opt_subdirs=`cat $srcdir/*/PLUGIN/OPT /dev/null | tsort | xargs echo`
|
1996-08-15 07:12:00 +00:00
|
|
|
|
1996-07-25 22:56:11 +00:00
|
|
|
AC_CONFIG_SUBDIRS($all_subdirs)
|
|
|
|
|
for d in $all_subdirs; do
|
|
|
|
|
if test -d $srcdir/$d ; then
|
|
|
|
|
existingdirs="$existingdirs $d"
|
1996-12-03 05:34:34 +00:00
|
|
|
test -n "$silent" || echo Configuring plug-in component $d
|
1996-07-25 22:56:11 +00:00
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
for d in $req_subdirs; do
|
1996-12-03 05:34:34 +00:00
|
|
|
test -d $srcdir/$d || {
|
|
|
|
|
echo ERROR: Missing required package: $d 1>&2
|
|
|
|
|
exit 1
|
|
|
|
|
}
|
1996-07-25 22:56:11 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
|
|
AC_SUBST(existingdirs)
|
1997-01-21 15:27:49 +00:00
|
|
|
AC_OUTPUT(Makefile doc/Makefile doc/guile-programmer/Makefile doc/guile-user/Makefile newdoc/Makefile newdoc/ref/Makefile newdoc/tutorial/Makefile)
|