Create a firefox.manifest file from packages-static for use by codesighs.

This commit is contained in:
bryner%brianryner.com 2004-06-25 20:49:11 +00:00
Родитель af686667c4
Коммит b51a076018
2 изменённых файлов: 13 добавлений и 2 удалений

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

@ -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/??" > $@