source: rtems/Makefile.am @ b3836ce

4.104.114.9
Last change on this file since b3836ce was e290b1f, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 21, 2007 at 5:05:04 PM

2007-02-21 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.am: Use MKDIR_P instead of mkdir_p.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1#
2# top level directory for RTEMS build tree
3#
4##
5## $Id$
6##
7
8ACLOCAL_AMFLAGS = -I aclocal
9
10SUBDIRS = make $(build_SUBDIRS) $(host_SUBDIRS) $(target_SUBDIRS)
11DIST_SUBDIRS = $(SUBDIRS)
12
13noinst_SCRIPTS = bootstrap
14
15EXTRA_DIST = README.configure SUPPORT VERSION LICENSE $(noinst_SCRIPTS)
16EXTRA_DIST += config-ml.in
17EXTRA_DIST += ampolish3
18
19dist-hook:
20        @files=`(cd $(srcdir); find doc cpukit c testsuites tools \
21           -name configure.ac -print | sed 's,/configure.ac,,' | sort)`; \
22        for i in $$files; do \
23          if test -f $(distdir)/$$i/configure.ac; then : ; \
24          else \
25            d=`dirname $(distdir)/$$i`; \
26            $(MKDIR_P) $$d;\
27            echo "cp -pR $(srcdir)/$$i $(distdir)/$$i"; \
28            cp -pR $(srcdir)/$$i $(distdir)/$$i; \
29          fi; \
30        done
31        rm -rf `find $(distdir) -name 'autom4te*'`
32        rm -rf `find $(distdir) -name CVS`
33        rm -f `find $(distdir) \( -name .cvsignore \
34          -o -name config.status \
35          -o -name config.log \)`
36        rm -f `find $(distdir) \( -name '*.bak' \
37          -o -name 'changes' -o -name 'diff' -o -name 'tmp' -o -name 'log' \
38          -o -name '*~' -o -name '.*~' -o -name '.#*' \)`
39        find $(distdir) -name '*.in' -print | while read a; do \
40          f=`echo $$a | sed 's,\.in$$,,'`; \
41          if test -f $$f; then echo "rm $$f"; rm $$f; fi; done
42
43include $(top_srcdir)/automake/subdirs.am
44include $(top_srcdir)/automake/host.am
Note: See TracBrowser for help on using the repository browser.