Created
November 25, 2010 23:35
-
-
Save chilcote/716074 to your computer and use it in GitHub Desktop.
example Makefile for packaging Firefox with custom settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include /usr/local/share/luggage/luggage.make | |
TITLE=app_firefox | |
REVERSE_DOMAIN=com.example.corp | |
PAYLOAD=unbz2-applications-firefox.app \ | |
pack-firefox-settings-local-settings.js \ | |
pack-firefox-settings-firefox_AA.cfg \ | |
pack-firefox-settings-override.ini | |
unbz2-applications-firefox.app: firefox.app.tar.bz2 l_Applications | |
@sudo ${TAR} xjf firefox.app.tar.bz2 -C ${WORK_D}/Applications | |
@sudo chown -R root:admin "${WORK_D}/Applications/Firefox.app" | |
pack-firefox-settings-local-settings.js: unbz2-applications-firefox.app local-settings.js | |
@sudo ${INSTALL} -m 644 -g admin -o root local-settings.js ${WORK_D}/Applications/Firefox.app/Contents/MacOS/defaults/pref/local-settings.js | |
pack-firefox-settings-firefox_AA.cfg: unbz2-applications-firefox.app firefox_AA.cfg | |
@sudo ${INSTALL} -m 644 -g admin -o root firefox_AA.cfg ${WORK_D}/Applications/Firefox.app/Contents/MacOS/firefox_AA.cfg | |
pack-firefox-settings-override.ini: unbz2-applications-firefox.app override.ini | |
@sudo ${INSTALL} -m 644 -g admin -o root override.ini ${WORK_D}/Applications/Firefox.app/Contents/MacOS/override.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment