summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-02-13 11:10:52 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-02-13 11:10:52 +0000
commit2994a4a065617f02ecae130884bb562e94a5d3bc (patch)
tree31405b5508ef469d2717001bb5fd02898720e75f /Makefile.am
parentaa8ad84243f4c322eb1d0c45665f396aa260aab0 (diff)
downloadrtems-2994a4a065617f02ecae130884bb562e94a5d3bc.tar.bz2
2004-02-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove AUTOMAKE_FILES. Cleanup duplicate ACLOCAL_FILES. EXTRA_DIST += config-ml.in. DIST_SUBDIRS += make. Add dist-hook. * configure.ac: Add dist-bzip2 no-dist-gzip to AUTOMAKE_OPTIONS.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am45
1 files changed, 25 insertions, 20 deletions
diff --git a/Makefile.am b/Makefile.am
index 9fda4e4ceb..13faa3cc90 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,6 @@
#
# top level directory for RTEMS build tree
#
-## The target's toplevel Makefile now is in c/src
##
## $Id$
##
@@ -10,41 +9,47 @@ ACLOCAL_AMFLAGS = -I aclocal
SUBDIRS = make $(build_SUBDIRS) $(host_SUBDIRS) $(target_SUBDIRS)
-AUTOMAKE_FILES =
-AUTOMAKE_FILES += automake/host.am
-AUTOMAKE_FILES += automake/local.am
-AUTOMAKE_FILES += automake/subdirs.am
-
ACLOCAL_FILES =
ACLOCAL_FILES += aclocal/bsp-alias.m4
ACLOCAL_FILES += aclocal/canonical-target-name.m4
ACLOCAL_FILES += aclocal/check-bsps.m4
ACLOCAL_FILES += aclocal/check-custom-bsp.m4
ACLOCAL_FILES += aclocal/enable-bare.m4
-ACLOCAL_FILES += aclocal/enable-cxx.m4
-ACLOCAL_FILES += aclocal/enable-inlines.m4
-ACLOCAL_FILES += aclocal/enable-itron.m4
-ACLOCAL_FILES += aclocal/enable-multiprocessing.m4
-ACLOCAL_FILES += aclocal/enable-networking.m4
-ACLOCAL_FILES += aclocal/enable-posix.m4
-ACLOCAL_FILES += aclocal/enable-rdbg.m4
-ACLOCAL_FILES += aclocal/enable-rtemsbsp.m4
-ACLOCAL_FILES += aclocal/enable-rtems-debug.m4
-ACLOCAL_FILES += aclocal/enable-tests.m4
-ACLOCAL_FILES += aclocal/multilib.m4
ACLOCAL_FILES += aclocal/path-ksh.m4
ACLOCAL_FILES += aclocal/project-root.m4
ACLOCAL_FILES += aclocal/quoting.m4
ACLOCAL_FILES += aclocal/rtems-cpu-subdirs.m4
-ACLOCAL_FILES += aclocal/rtems-top.m4
ACLOCAL_FILES += aclocal/tool-paths.m4
-ACLOCAL_FILES += aclocal/version.m4
noinst_SCRIPTS = bootstrap
EXTRA_DIST = README.configure SUPPORT VERSION LICENSE $(noinst_SCRIPTS)
-EXTRA_DIST += $(AUTOMAKE_FILES)
EXTRA_DIST += $(ACLOCAL_FILES)
+EXTRA_DIST += config-ml.in
+
+DIST_SUBDIRS = make
+dist-hook:
+ cp -pR $(srcdir)/doc $(distdir)/doc
+ find $(distdir)/doc -name '*.t' -print | while read a; do \
+ if test -f $${a}exi; then echo "rm $${a}exi"; rm -f $${a}exi; fi; done
+ cp -pR $(srcdir)/tools $(distdir)/tools
+ cp -pR $(srcdir)/c $(distdir)/c
+ cp -pR $(srcdir)/cpukit $(distdir)/cpukit
+ cp -pR $(srcdir)/testsuites $(distdir)/testsuites
+ cp -pR $(srcdir)/scripts $(distdir)/scripts
+ rm -f $(distdir)/scripts/setup.cache
+ rm -f $(distdir)/scripts/*/*.spec
+ rm -rf `find $(distdir) -name 'autom4te*'`
+ rm -rf `find $(distdir) -name CVS`
+ rm -f `find $(distdir) \( -name .cvsignore \
+ -o -name config.status \
+ -o -name config.log \)`
+ rm -f `find $(distdir) \( -name '*.bak' \
+ -o -name 'changes' -o -name 'diff' -o -name 'tmp' -o -name 'log' \
+ -o -name '*~' -o -name '.*~' -o -name '.#*' \)`
+ find $(distdir) -name '*.in' -print | while read a; do \
+ f=`echo $$a | sed 's,\.in$$,,'`; \
+ if test -f $$f; then echo "rm $$f"; rm $$f; fi; done
include $(top_srcdir)/automake/subdirs.am
include $(top_srcdir)/automake/host.am