Bugzilla Bug 325148: worked around the change of backslash-newline behavior

inside single-quoted strings in GNU make 3.81.  The patch is contributed by
Pawel Chmielowski <prefiks@aviary.pl>. r=benjamin.smedberg,wtc.
This commit is contained in:
wtchang%redhat.com 2006-08-15 21:35:25 +00:00
Родитель 6852b354f2
Коммит b5aacc0a96
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -873,8 +873,7 @@ endif
ifneq (,$(filter-out OpenVMS OS2 WIN%,$(OS_TARGET)))
# Can't use sed because of its 4000-char line length limit, so resort to perl
.DEFAULT:
@perl -e ' \
PERL_DEPENDENCIES_PROGRAM = \
open(MD, "< $(DEPENDENCIES)"); \
while (<MD>) { \
if (m@ \.*/*$< @) { \
@ -901,7 +900,10 @@ ifneq (,$(filter-out OpenVMS OS2 WIN%,$(OS_TARGET)))
} elsif ("$<" ne "$(DEPENDENCIES)") { \
print "$(MAKE): *** No rule to make target $<. Stop.\n"; \
exit(1); \
}'
}
.DEFAULT:
@perl -e '$(PERL_DEPENDENCIES_PROGRAM)'
endif
#############################################################################