mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 21:20:19 +00:00
Add support for signing Mac applications to the Makefile
Maybe I should comment out the target that requires my private key to work... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c85ba7204c
commit
249482cf2f
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -120,7 +120,7 @@ else ifeq ($(UNAME), darwin)
|
||||||
MACOSXSTAGING = $(MACOSXFILES)/Subsurface.app
|
MACOSXSTAGING = $(MACOSXFILES)/Subsurface.app
|
||||||
EXTRALIBS = $(shell $(PKGCONFIG) --libs gtk-mac-integration) -framework CoreFoundation
|
EXTRALIBS = $(shell $(PKGCONFIG) --libs gtk-mac-integration) -framework CoreFoundation
|
||||||
CFLAGS += $(shell $(PKGCONFIG) --cflags gtk-mac-integration)
|
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
|
GTK_MAC_BUNDLER = ~/.local/bin/gtk-mac-bundler
|
||||||
XSLT_CAPABLE = 1
|
XSLT_CAPABLE = 1
|
||||||
else
|
else
|
||||||
|
@ -216,6 +216,9 @@ create-macosx-bundle: $(NAME)
|
||||||
fi
|
fi
|
||||||
$(GTK_MAC_BUNDLER) packaging/macosx/subsurface.bundle
|
$(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-cross-windows: $(NAME)
|
||||||
$(INSTALL) -d -m 755 $(WINDOWSSTAGING)/share/locale
|
$(INSTALL) -d -m 755 $(WINDOWSSTAGING)/share/locale
|
||||||
for MSG in $(WINMSGDIRS); do\
|
for MSG in $(WINMSGDIRS); do\
|
||||||
|
|
Loading…
Reference in a new issue