summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2014-08-28 13:30:22 +0000
committerhallgren <hallgren@chalmers.se>2014-08-28 13:30:22 +0000
commit658b9adabededa77cde1642389759b50269d99f7 (patch)
tree6e3693bd5c6f748aa55cd6177ce8e83db7a83d2b /Makefile
parent883d1ae21ced142ac02c9d9defad91fea4850165 (diff)
You can now use 'make pkg' to build OS X Installer packages for GF
The script bin/build-binary-dist.sh has been updated to build either a plain .tar.gz package or OS X Installer package (.pkg). Note that bin/build-binary-dist.sh is designed to build and include the C run-time system in the binary package. If the C run-time system fails to build, no binary package will be created.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ad5c23e01..bb7c3fde3 100644
--- a/Makefile
+++ b/Makefile
@@ -33,3 +33,11 @@ html::
# (Tested on Ubuntu 14.04. You need to install dpkg-dev & debhelper.)
deb:
dpkg-buildpackage -b
+
+# Make an OS X Installer package
+pkg:
+ PREFIX=/usr FMT=pkg bash bin/build-binary-dist.sh
+
+# Make a binary tar distribution
+bintar:
+ bash bin/build-binary-dist.sh