зеркало из https://github.com/mozilla/pjs.git
Calendar part of bug 351476 - Remove post-mozilla-rel.pl conversion of line endings n browser/EULA and other files
This commit is contained in:
Родитель
83a46f9f6c
Коммит
fa4e397b07
|
@ -390,7 +390,12 @@ endif
|
|||
endif # LIBXUL_SDK
|
||||
|
||||
libs::
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
$(EXIT_ON_ERROR) \
|
||||
$(PERL) -pe 's/(?<!\r)\n/\r\n/g;' < $(topsrcdir)/LICENSE > $(DIST)/bin/LICENSE
|
||||
else
|
||||
$(INSTALL) $(topsrcdir)/LICENSE $(DIST)/bin
|
||||
endif
|
||||
|
||||
libs:: $(srcdir)/profile/prefs.js
|
||||
$(INSTALL) $^ $(DIST)/bin/defaults/profile
|
||||
|
|
|
@ -62,4 +62,11 @@ endif
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
libs:: $(addprefix $(LOCALE_SRCDIR)/,$(README_FILES))
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
$(EXIT_ON_ERROR) \
|
||||
for file in $^; do \
|
||||
$(PERL) -pe 's/(?<!\r)\n/\r\n/g;' < $$file > $(FINAL_TARGET)/`basename $$file`; \
|
||||
done
|
||||
else
|
||||
$(INSTALL) $^ $(FINAL_TARGET)
|
||||
endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче