[rtems-crossrpms commit] Add AM_MAINTAINER_MODE.
Ralf Corsepius
ralf at rtems.org
Sun Apr 29 08:56:11 UTC 2012
Module: rtems-crossrpms
Branch: master
Commit: f839675f62b514c156f86b2c055201f5bbc13dd7
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=f839675f62b514c156f86b2c055201f5bbc13dd7
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Sun Apr 29 10:49:09 2012 +0200
Add AM_MAINTAINER_MODE.
Remove TARGET_SUBDIRS.
---
Makefile.am | 22 ++++++++++------------
configure.ac | 13 +------------
2 files changed, 11 insertions(+), 24 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index dd5b46b..3ec37f6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,19 +4,17 @@
EXTRA_DIST =
-SUBDIRS = @HOST_SUBDIRS@ @TARGET_SUBDIRS@
+SUBDIRS = cygwin
+SUBDIRS += freebsd6.4
+SUBDIRS += freebsd7.3
+SUBDIRS += freebsd8.2
+SUBDIRS += freebsd9.0
+SUBDIRS += mingw32
+SUBDIRS += netbsd5.1
+SUBDIRS += solaris2.7
+SUBDIRS += rtems4.11
-DIST_SUBDIRS = cygwin
-DIST_SUBDIRS += freebsd6.4
-DIST_SUBDIRS += freebsd7.3
-DIST_SUBDIRS += freebsd8.2
-DIST_SUBDIRS += freebsd9.0
-DIST_SUBDIRS += mingw32
-DIST_SUBDIRS += netbsd5.1
-DIST_SUBDIRS += solaris2.7
-DIST_SUBDIRS += rtems4.11
-
-DIST_SUBDIRS += autotools
+SUBDIRS += autotools
EXTRA_DIST += specstrip
EXTRA_DIST += $(srcdir)/patches/*.diff
diff --git a/configure.ac b/configure.ac
index dd46294..e874b8e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,6 +12,7 @@ AC_CANONICAL_HOST
AC_PREFIX_DEFAULT([/opt/rtems-][RTEMS_API])
AM_INIT_AUTOMAKE([1.11.1])
+AM_MAINTAINER_MODE
savdir=`pwd`
cd $srcdir
@@ -102,20 +103,8 @@ AC_ARG_ENABLE([infos],
])
AC_SUBST(SPECSTRIP_OPTS)
-for f in $targets; do
-ac_cv_mytarget=`$SHELL "$ac_aux_dir/config.sub" $f` ||
- AC_MSG_ERROR([$SHELL $ac_aux_dir/config.sub $f failed])
- RTEMS_CANONICAL_SPLIT(mytarget)
-
- AS_IF([test -d $srcdir/$mytarget_os/$mytarget_cpu],[
- target_subdirs="$target_subdirs $mytarget_os/$mytarget_cpu"],[
- AC_MSG_WARN([ignoring unsupported target $f])
- ])
-done
-
AM_CONDITIONAL([CUSTOM_RPMPREFIX],[test "$CUSTOM_RPMPREFIX" = "yes"])
-AC_SUBST(TARGET_SUBDIRS,$target_subdirs)
AC_SUBST(rtems_api,RTEMS_API)
AC_CONFIG_FILES([Makefile])
More information about the vc
mailing list