зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
c34f31093a
Коммит
db1cf9f37e
|
@ -873,8 +873,7 @@ endif
|
||||||
|
|
||||||
ifneq (,$(filter-out OpenVMS OS2 WIN%,$(OS_TARGET)))
|
ifneq (,$(filter-out OpenVMS OS2 WIN%,$(OS_TARGET)))
|
||||||
# Can't use sed because of its 4000-char line length limit, so resort to perl
|
# Can't use sed because of its 4000-char line length limit, so resort to perl
|
||||||
.DEFAULT:
|
PERL_DEPENDENCIES_PROGRAM = \
|
||||||
@perl -e ' \
|
|
||||||
open(MD, "< $(DEPENDENCIES)"); \
|
open(MD, "< $(DEPENDENCIES)"); \
|
||||||
while (<MD>) { \
|
while (<MD>) { \
|
||||||
if (m@ \.*/*$< @) { \
|
if (m@ \.*/*$< @) { \
|
||||||
|
@ -901,7 +900,10 @@ ifneq (,$(filter-out OpenVMS OS2 WIN%,$(OS_TARGET)))
|
||||||
} elsif ("$<" ne "$(DEPENDENCIES)") { \
|
} elsif ("$<" ne "$(DEPENDENCIES)") { \
|
||||||
print "$(MAKE): *** No rule to make target $<. Stop.\n"; \
|
print "$(MAKE): *** No rule to make target $<. Stop.\n"; \
|
||||||
exit(1); \
|
exit(1); \
|
||||||
}'
|
}
|
||||||
|
|
||||||
|
.DEFAULT:
|
||||||
|
@perl -e '$(PERL_DEPENDENCIES_PROGRAM)'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
Загрузка…
Ссылка в новой задаче