зеркало из https://github.com/mozilla/pjs.git
Create a firefox.manifest file from packages-static for use by codesighs.
This commit is contained in:
Родитель
af686667c4
Коммит
b51a076018
|
@ -46,7 +46,7 @@ CONFIG_DIR = $(shell pwd)
|
|||
ABS_topsrcdir = $(shell cd $(topsrcdir) && pwd)
|
||||
ABS_depth = $(shell cd $(DEPTH) && pwd)
|
||||
|
||||
installer: installer.cfg
|
||||
installer: installer.cfg firefox.manifest
|
||||
ifneq ($(ABS_topsrcdir),$(ABS_depth))
|
||||
ln -sf $(srcdir)/*.jst $(srcdir)/*.it $(srcdir)/packages* .
|
||||
endif
|
||||
|
@ -61,4 +61,10 @@ endif
|
|||
installer.cfg: installer.cfg.in
|
||||
sed -e 's/\$$INSTALLER_NAME\$$/$(INSTALLER_NAME)/' $^ > $@
|
||||
|
||||
# Create a manifest for use with codesighs, by stripping "bin/" off of the
|
||||
# beginning of lines in the packages file.
|
||||
|
||||
firefox.manifest: packages-static
|
||||
grep "^bin/" $^ | sed "s?^bin/??" > $@
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
|
|
@ -46,7 +46,7 @@ CONFIG_DIR=$(shell cygpath -a $(srcdir))
|
|||
OBJ_DIR=$(shell cygpath -a $(DEPTH))
|
||||
SRC_DIR=$(shell cygpath -a $(topsrcdir))
|
||||
|
||||
installer:
|
||||
installer: firefox.manifest
|
||||
cd $(topsrcdir)/toolkit/mozapps/installer && perl build_static.pl -config "$(CONFIG_DIR)" -srcDir "$(SRC_DIR)" -objDir "$(OBJ_DIR)"
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
@ -58,3 +58,8 @@ ifndef MOZ_USE_OFFICIAL_BRANDING
|
|||
cp $(srcdir)/Watermrk.bmp $(DIST)/branding/Watermrk.bmp
|
||||
endif
|
||||
|
||||
# Create a manifest for use with codesighs, by stripping "bin/" off of the
|
||||
# beginning of lines in the packages file.
|
||||
|
||||
firefox.manifest: packages-static
|
||||
grep "^bin/" $^ | sed "s?^bin/??" > $@
|
||||
|
|
Загрузка…
Ссылка в новой задаче