mirror of
https://github.com/gophernicus/gophernicus.git
synced 2024-09-29 04:45:56 -04: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:
|
all:
|
||||||
@case `uname` in \
|
@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); ;; \
|
Haiku) $(MAKE) EXTRA_LIBS="-lnetwork" src/$(BINARY); ;; \
|
||||||
*) if [ -f "/usr/include/tcpd.h" ]; then $(MAKE) withwrap; else $(MAKE) src/$(BINARY); fi; ;; \
|
*) if [ -f "/usr/include/tcpd.h" ]; then $(MAKE) withwrap; else $(MAKE) src/$(BINARY); fi; ;; \
|
||||||
esac
|
esac
|
||||||
@ -104,7 +104,7 @@ clean-shm:
|
|||||||
|
|
||||||
install: clean-shm
|
install: clean-shm
|
||||||
@case `uname` in \
|
@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) \
|
Haiku) $(MAKE) SBINDIR=/boot/common/bin DOCDIR=/boot/common/share/doc/$(PACKAGE) \
|
||||||
install-files install-docs install-root install-haiku install-done; ;; \
|
install-files install-docs install-root install-haiku install-done; ;; \
|
||||||
*) $(MAKE) install-files install-docs install-root; ;; \
|
*) $(MAKE) install-files install-docs install-root; ;; \
|
||||||
@ -151,7 +151,7 @@ install-root:
|
|||||||
if [ ! -d "$(ROOT)" -o ! -f "$(ROOT)/$(MAP)" ]; then \
|
if [ ! -d "$(ROOT)" -o ! -f "$(ROOT)/$(MAP)" ]; then \
|
||||||
mkdir -p $(ROOT); \
|
mkdir -p $(ROOT); \
|
||||||
$(INSTALL) -m 644 $(MAP).sample $(ROOT); \
|
$(INSTALL) -m 644 $(MAP).sample $(ROOT); \
|
||||||
ln -s $(DOCDIR) $(ROOT)/docs; \
|
ln -fs $(DOCDIR) $(ROOT)/docs; \
|
||||||
fi
|
fi
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user