From: Alexander Barton Date: Wed, 1 Sep 2010 15:21:35 +0000 (+0200) Subject: New Makefile targets: "osxpkg" and "osxdmg" X-Git-Tag: rel-2~4 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=nagcollect.git;a=commitdiff_plain;h=1035ec5469ad460508984d18bb19e9140ce9cbe5 New Makefile targets: "osxpkg" and "osxdmg" - osxpkg builds an Mac OS X multi-package (.mpkg) - osxdmg creates an disk image (.dmg) from the multi-package --- diff --git a/Makefile b/Makefile index bced534..b8f538c 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,19 @@ dist: distclean distcheck: check dist +osxpkg: + rel=`grep "^NagCollect " ChangeLog|awk "{print \\\$$3 }"|head -n 1`; \ + rm -rf "../NagCollect-R$${rel}.mpkg" \ + && packagemaker \ + --doc "contrib/NagCollect.pmdoc" \ + --out "../NagCollect-R$${rel}.mpkg" + +osxdmg: osxpkg + rel=`grep "^NagCollect " ChangeLog|awk "{print \\\$$3 }"|head -n 1`; \ + rm -f "../NagCollect-R$${rel}.dmg" \ + && hdiutil create -srcfolder \ + "../NagCollect-R$${rel}.mpkg" "../NagCollect-R$${rel}.dmg" + nagcollecttestscripts: COPYFILE_DISABLE=true tar -czvf nagcollecttestscripts.tgz \ -C client/lib/tests .