diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-02-26 11:54:15 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-02-26 11:54:15 -0400 |
commit | 8ee9733ff3dd8b9ff7cf1552f7eebf96b4ade7bb (patch) | |
tree | 38d4219ac8410d96bdfc937c98ca963fce4fc0d2 /Makefile | |
parent | d419c190914ea4c5a9959bb585df02ae79d7d41b (diff) |
Include magic database in the linux and OSX standalone builds.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -147,6 +147,8 @@ linuxstandalone-nobuild: Build/Standalone Build/LinuxMkLibs install -d "$(LINUXSTANDALONE_DEST)/git-core" (cd "$(shell git --exec-path)" && tar c .) | (cd "$(LINUXSTANDALONE_DEST)"/git-core && tar x) install -d "$(LINUXSTANDALONE_DEST)/templates" + install -d "$(LINUXSTANDALONE_DEST)/magic" + cp /usr/share/file/magic.mgc "$(LINUXSTANDALONE_DEST)/magic" ./Build/LinuxMkLibs "$(LINUXSTANDALONE_DEST)" @@ -199,6 +201,12 @@ osxapp: Build/Standalone Build/OSXMkLibs (cd "$(shell git --exec-path)" && tar c .) | (cd "$(OSXAPP_BASE)" && tar x) install -d "$(OSXAPP_BASE)/templates" + install -d "$(OSXAPP_BASE)/magic" + if [ -e "$(OSX_MAGIC_FILE)" ]; then \ + cp "$(OSX_MAGIC_FILE)" "$(OSXAPP_BASE)/magic/magic.mgc"; \ + else \ + echo "** OSX_MAGIC_FILE not set; not including it" >&2; \ + endif # OSX looks in man dir nearby the bin $(MAKE) install-mans DESTDIR="$(OSXAPP_BASE)/.." SHAREDIR="" PREFIX="" |