OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3930246
)
Mac: install books into the application bundle
vauto3.0.0-alpha83-0f72ec3f0
author
Eric Branlund
<ebranlund@fastmail.com>
Fri, 19 May 2023 04:36:50 +0000
(22:36 -0600)
committer
Eric Branlund
<ebranlund@fastmail.com>
Fri, 19 May 2023 04:36:50 +0000
(22:36 -0600)
lib/file/books/Makefile.am
patch
|
blob
|
history
diff --git
a/lib/file/books/Makefile.am
b/lib/file/books/Makefile.am
index
3857096
..
06ed683
100644
(file)
--- a/
lib/file/books/Makefile.am
+++ b/
lib/file/books/Makefile.am
@@
-19,3
+19,17
@@
angbanddir = @DEFAULT_LIB_PATH@/file/books
angband_DATA = \
$(angband_files)
endif
+
+if COCOA
+# APPNAME to APPRES duplicate what's in src/Makefile.am. It would be nice to
+# avoid that, but until then, they should match.
+APPNAME = $(PACKAGE_NAME)
+APPDIR = $(APPNAME).app
+APPBNDL = $(bindir)/$(APPDIR)
+APPCONT = $(APPBNDL)/Contents
+APPRES = $(APPCONT)/Resources
+
+appfiledir = $(APPRES)/lib/file/books
+appfile_DATA = \
+ $(angband_files)
+endif