[minor] add a variable to control darwin package signing

This commit is contained in:
Aaron Meihm 2016-03-23 14:36:36 -05:00
Родитель 2de6b0171a
Коммит 0d4f61164c
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -32,6 +32,7 @@ BINDIR := bin/$(OS)/$(ARCH)
AGTCONF := conf/mig-agent-conf.go.inc
LOADERCONF := conf/mig-loader-conf.go.inc
MSICONF := mig-agent-installer.wxs
SIGNFLAGS :=
GCC := gcc
CFLAGS :=
@ -311,7 +312,9 @@ osx-loader-pkg:
$(INSTALL) -m 0755 tools/osx-loader-pkg-postinstall.sh $${scriptstmp}/postinstall && \
$(INSTALL) -m 0644 tools/com.mozilla.mig-loader.plist $${tmpdir}/Library/LaunchAgents/com.mozilla.mig-loader.plist && \
pkgbuild --root $${tmpdir} --identifier org.mozilla.mig-loader --version $(BUILDREV) \
--ownership recommended --scripts $${scriptstmp} ./mig-loader-$(BUILDREV)-darwin.pkg && \
--ownership recommended --scripts $${scriptstmp} \
$(SIGNFLAGS) \
./mig-loader-$(BUILDREV)-darwin.pkg && \
rm -rf $${tmpdir} && \
rm -rf $${scriptstmp}