This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Toplevel patch: Autogenerate Makefile targets 2 (*-target-*)
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: gcc-patches at gcc dot gnu dot org, dj at redhat dot com
- Date: Wed, 13 Nov 2002 20:36:28 -0500
- Subject: Re: Toplevel patch: Autogenerate Makefile targets 2 (*-target-*)
>> -$(CHECK_TARGET_MODULES):
>> - @dir=`echo $@ | sed -e 's/check-target-//'`; \
>> - if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
>> +[+ IF no_check +][+ ELSE check +]
>
>Is this the best place for this IF?
>> -$(INSTALL_TARGET_MODULES): installdirs
>> - @dir=`echo $@ | sed -e 's/install-target-//'`; \
>> - if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
>> +[+ ENDIF no_check +]
>
>This endif looks out of place.
These look out of place because the diffing program chose an odd
way to write things. They are in the correct places (before and after
the check-[+module+] target).
--Nathanael