I have a launchAgent that calls a script to copy a safari extension to the Users Safari folder.
I have it all working and now want to pkg it all up, without using Composer. I have done a lot of work with Luggage but this is stumping me so any help will be appreciated.
include /usr/local/share/luggage/luggage.make
TITLE=Okta_Safari_Extension
REVERSE_DOMAIN=edu.riverdale
PAYLOAD=\
pack-oktaSafariExtension.sh \
pack-Library-LaunchAgents-edu.riverdale.oktaSafariExtension.plist \
pack-"Okta Secure Web Authentication Plug-in.safariextz"
PACKAGE_VERSION=3.16.4
pack-oktaSafariExtension.sh: l_etc_hooks
@sudo mkdir ${WORK_D}/etc
@sudo mkdir ${WORK_D}/etc/hooks
@sudo ${CP} oktaSafariExtension.sh ${WORK_D}/etc/hooks
@sudo chown root:wheel ${WORK_D}/etc/hooks/oktaSafariExtension.sh
@sudo chmod 755 ${WORK_D}/etc/hooks/oktaSafariExtension.sh
@sudo chmod +x ${WORK_D}/etc/hooks/oktaSafariExtension.sh
pack-"Okta Secure Web Authentication Plug-in.safariextz": l_etc_hooks
@sudo ${CP} "Okta Secure Web Authentication Plug-in.safariextz" ${WORK_D}/etc/hooks
@sudo chown root:wheel ${WORK_D}/etc/hooks/"Okta Secure Web Authentication Plug-in.safariextz"
@sudo chmod 755 ${WORK_D}/etc/hooks/"Okta Secure Web Authentication Plug-in.safariextz"
jamBookPro-5:Okta - Safari jam$ make dmg
make pack-oktaSafariExtension.sh pack-Library-LaunchAgents-edu.riverdale.oktaSafariExtension.plist pack-"Okta Secure Web Authentication Plug-in.safariextz"
make[1]: *** No rule to make target `pack-Okta Secure Web Authentication Plug-in.safariextz'. Stop.
make: *** [payload] Error 2
Any Suggestions? I want to copy it to etc/hooks but as long as I can copy it to somewhere that is not obvious to a user thats fine. I attached a copy of my working directory for this makefile if anyone wants to see.
thanks in advanced.