4.115
Last change
on this file since 6279149 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
|
Rev | Line | |
---|
[309dbd0] | 1 | ## Borrowed from automake-1.4 and adapted to RTEMS |
---|
[11a26b9] | 2 | |
---|
[309dbd0] | 3 | ## NOTE: This is a temporary work-around to keep |
---|
[11a26b9] | 4 | ## RTEMS's non automake standard make targets working. |
---|
[309dbd0] | 5 | ## Once automake is fully integrated these make targets |
---|
[11a26b9] | 6 | ## and this file will probably be removed |
---|
| 7 | |
---|
| 8 | preinstall-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 | |
---|
| 29 | preinstall: preinstall-recursive |
---|
| 30 | .PHONY: preinstall-recursive |
---|
Note: See
TracBrowser
for help on using the repository browser.