source: rtems/cpukit/automake/subdirs.am @ c130387

5
Last change on this file since c130387 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

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: 1010 bytes
Line 
1## Borrowed from automake-1.4 and adapted to RTEMS
2
3## NOTE: This is a temporary work-around to keep
4## RTEMS's non automake standard make targets working.
5## Once automake is fully integrated these make targets
6## and this file will probably be removed
7
8preinstall-recursive:
9        @set fnord $(MAKEFLAGS); amf=$$2; \
10        dot_seen=no; \
11        target=`echo $@ | sed s/-recursive//`; \
12        list='$(SUBDIRS)'; for subdir in $$list; do \
13          echo "Making $$target in $$subdir"; \
14          if test "$$subdir" = "."; then \
15            dot_seen=yes; \
16            local_target="$$target-am"; \
17          else \
18            local_target="$$target"; \
19          fi; \
20          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
21## This trick allows "-k" to keep its natural meaning when running a
22## recursive rule.
23           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
24        done; \
25        if test "$$dot_seen" = "no"; then \
26          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
27        fi; test -z "$$fail"
28
29preinstall: preinstall-recursive
30.PHONY: preinstall-recursive
Note: See TracBrowser for help on using the repository browser.