From 1035ec5469ad460508984d18bb19e9140ce9cbe5 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 1 Sep 2010 17:21:35 +0200 Subject: [PATCH] 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 --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 . -- 2.39.2