source: CMT/HEAD/mgr/fragments/cleanup_header@ 487

Last change on this file since 487 was 487, checked in by rybkin, 17 years ago

See C.L. 382

  • Property svn:eol-style set to native
File size: 1.1 KB
RevLine 
[2]1#-- start of cleanup_header --------------
2
[487]3clean :: ${CONSTITUENT}clean ;
4# @cd .
[2]5
[183]6ifndef PEDANTIC
[108]7.DEFAULT::
[459]8 $(echo) "(${CONSTITUENT}.make) $@: No rule for such target" >&2
9# @echo "#CMT> Warning: $@: No rule for such target" >&2; exit
[349]10else
11.DEFAULT::
[459]12 $(echo) "(${CONSTITUENT}.make) PEDANTIC: $@: No rule for such target" >&2
13 if test $@ = "$(cmt_final_setup)" -o\
[458]14 $@ = "$(cmt_final_setup_${CONSTITUENT})" ; then\
15 found=n; for s in 1 2 3 4 5; do\
16 sleep $$s; test ! -f $@ || { found=y; break; }\
17 done; if test $$found = n; then\
[459]18 test -z "$(cmtmsg)" ||\
19 echo "$(CMTMSGPREFIX)" "(${CONSTITUENT}.make) PEDANTIC: $@: Seems to be missing. Ignore it for now" >&2; exit 0 ; fi;\
[458]20 elif test `expr index $@ '/'` -ne 0 ; then\
[459]21 test -z "$(cmtmsg)" ||\
22 echo "$(CMTMSGPREFIX)" "(${CONSTITUENT}.make) PEDANTIC: $@: Seems to be a missing file. Please check" >&2; exit 2 ; \
[458]23 else\
[459]24 test -z "$(cmtmsg)" ||\
25 echo "$(CMTMSGPREFIX)" "(${CONSTITUENT}.make) PEDANTIC: $@: Seems to be a fake target due to some pattern. Just ignore it" >&2 ; exit 0; fi
[183]26endif
[108]27
[2]28${CONSTITUENT}clean ::
29#-- end of cleanup_header ---------------
Note: See TracBrowser for help on using the repository browser.