source: rtems/Makefile.am @ 9a4eca5

Last change on this file since 9a4eca5 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on May 3, 2012 at 3:09:24 PM

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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