mirror of
https://github.com/gophernicus/gophernicus.git
synced 2024-12-04 14:46:37 -05:00
Merge pull request #54 from emilengler/2020-01-make-force-symlink
build: Force create symlink & travis build fix on macOS
This commit is contained in:
commit
06bb6490fd
6
Makefile
6
Makefile
@ -43,7 +43,7 @@ IPCRM = /usr/bin/ipcrm
|
||||
|
||||
all:
|
||||
@case `uname` in \
|
||||
Darwin) $(MAKE) ROOT="$(OSXROOT)" DESTDIR="$(OSXDEST)" src/$(BINARY); ;; \
|
||||
Darwin) $(MAKE) ROOT="$(OSXROOT)" DESTDIR="$(OSXDIr)" src/$(BINARY); ;; \
|
||||
Haiku) $(MAKE) EXTRA_LIBS="-lnetwork" src/$(BINARY); ;; \
|
||||
*) if [ -f "/usr/include/tcpd.h" ]; then $(MAKE) withwrap; else $(MAKE) src/$(BINARY); fi; ;; \
|
||||
esac
|
||||
@ -104,7 +104,7 @@ clean-shm:
|
||||
|
||||
install: clean-shm
|
||||
@case `uname` in \
|
||||
Darwin) $(MAKE) ROOT="$(OSXROOT)" DESTDIR="$(OSXDEST)" install-files install-docs install-root install-osx install-done; ;; \
|
||||
Darwin) $(MAKE) ROOT="$(OSXROOT)" DESTDIR="$(OSXDIR)" install-files install-docs install-root install-osx install-done; ;; \
|
||||
Haiku) $(MAKE) SBINDIR=/boot/common/bin DOCDIR=/boot/common/share/doc/$(PACKAGE) \
|
||||
install-files install-docs install-root install-haiku install-done; ;; \
|
||||
*) $(MAKE) install-files install-docs install-root; ;; \
|
||||
@ -151,7 +151,7 @@ install-root:
|
||||
if [ ! -d "$(ROOT)" -o ! -f "$(ROOT)/$(MAP)" ]; then \
|
||||
mkdir -p $(ROOT); \
|
||||
$(INSTALL) -m 644 $(MAP).sample $(ROOT); \
|
||||
ln -s $(DOCDIR) $(ROOT)/docs; \
|
||||
ln -fs $(DOCDIR) $(ROOT)/docs; \
|
||||
fi
|
||||
@echo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user