OSDN Git Service

Merge pull request #1124 from habu1010/feature/fix-item-combine-when-auto-inscription
[hengbandforosx/hengbandosx.git] / lib / bone / Makefile.am
index 44812f7..e7c6cac 100644 (file)
@@ -1,4 +1,21 @@
 ## Makefile.am -- Process this file with automake to process Makefile.in
 
+angband_files = \
+  delete.me
+
 EXTRA_DIST = \
-       delete.me
+  $(angband_files)
+
+if SET_GID
+angbanddir = @DEFAULT_VAR_PATH@/bone
+
+angband_DATA = \
+  $(angband_files)
+endif
+
+install-data-hook:
+if SET_GID
+       chown -R root.@GAMEGROUP@ "$(DESTDIR)$(angbanddir)"
+       chmod -R g+w "$(DESTDIR)$(angbanddir)"
+endif
+