osxprivacy/Makefile

26 lines
557 B
Makefile
Raw Normal View History

2016-02-23 20:12:32 +00:00
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