26 lines
557 B
Makefile
Executable File
26 lines
557 B
Makefile
Executable File
AUTODMG := /Applications/AutoDMG.app/Contents/MacOS/AutoDMG
|
|
|
|
default: output.dmg
|
|
|
|
packages:
|
|
cd osx-privacy-pkg && make
|
|
|
|
clean:
|
|
rm -f osx-privacy-pkg/*.pkg output.dmg
|
|
|
|
output.dmg: packages
|
|
$(AUTODMG) update
|
|
$(AUTODMG) \
|
|
--log-level 7 \
|
|
--logfile - \
|
|
build \
|
|
-n "root" \
|
|
-u -U \
|
|
-o /tmp/output.dmg \
|
|
"/Applications/Install OS X El Capitan.app" \
|
|
/Applications/Xcode.app \
|
|
/Applications/AutoDMG.app \
|
|
"/Applications/Install OS X El Capitan.app" \
|
|
$(PWD)/osx-privacy-pkg/*.pkg \
|
|
$(PWD)/users/*.pkg && mv /tmp/output.dmg ./output.dmg
|