summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-14 09:21:11 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-14 09:21:11 -0800
commitadf135ad38f0a9e2c279f3066f7fad20a2f364b1 (patch)
treee1d58b0bac8a99b71533423c16eccedba715aa3f
parentca19578e407424221309f8724b451ffe2c1f9769 (diff)
parent249482cf2fbcc87a8a7274e47cc439b61ca8ddbd (diff)
downloadsubsurface-adf135ad38f0a9e2c279f3066f7fad20a2f364b1.tar.gz
Merge branch 'mac-app-signing'
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0f476f9ab..95367963f 100644
--- a/Makefile
+++ b/Makefile
@@ -120,7 +120,7 @@ else ifeq ($(UNAME), darwin)
MACOSXSTAGING = $(MACOSXFILES)/Subsurface.app
EXTRALIBS = $(shell $(PKGCONFIG) --libs gtk-mac-integration) -framework CoreFoundation
CFLAGS += $(shell $(PKGCONFIG) --cflags gtk-mac-integration)
- LDFLAGS += -headerpad_max_install_names
+ LDFLAGS += -headerpad_max_install_names -sectcreate __TEXT __info_plist ./packaging/macosx/Info.plist
GTK_MAC_BUNDLER = ~/.local/bin/gtk-mac-bundler
XSLT_CAPABLE = 1
else
@@ -216,6 +216,9 @@ create-macosx-bundle: $(NAME)
fi
$(GTK_MAC_BUNDLER) packaging/macosx/subsurface.bundle
+sign-macosx-bundle: $(NAME)
+ codesign -s "3A8CE62A483083EDEA5581A61E770EC1FA8BECE8" /Applications/Subsurface.app/Contents/MacOS/subsurface-bin
+
install-cross-windows: $(NAME)
$(INSTALL) -d -m 755 $(WINDOWSSTAGING)/share/locale
for MSG in $(WINMSGDIRS); do\