1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-12-04 14:46:37 -05:00

Fixed installation for CentOS 7

This commit is contained in:
Kim Holviala 2015-12-30 11:37:11 +02:00
parent a214290935
commit c77c0dd87d
2 changed files with 3 additions and 2 deletions

View File

@ -98,6 +98,7 @@ Tested (and semi-supported) platforms include:
AIX 6 POWER4 gcc 4 AIX 6 POWER4 gcc 4
AIX 7 POWER5 gcc 4 AIX 7 POWER5 gcc 4
CentOS 5 x86_64 gcc 4 CentOS 5 x86_64 gcc 4
CentOS 7 x86_64 gcc 4
Debian Squeeze armv5tel gcc 4 Debian Squeeze armv5tel gcc 4
Debian Wheezy i386 gcc 4 Debian Wheezy i386 gcc 4
Debian Wheezy x86_64 gcc 4 Debian Wheezy x86_64 gcc 4

View File

@ -35,7 +35,7 @@ SYSTEMD = /lib/systemd/system
DIST = $(PACKAGE)-$(VERSION) DIST = $(PACKAGE)-$(VERSION)
TGZ = $(DIST).tar.gz TGZ = $(DIST).tar.gz
RELDIR = /var/gopher/gophernicus.org/software/gophernicus/ RELDIR = $ROOT/gophernicus.org/software/gophernicus/
CC = gcc CC = gcc
HOSTCC = $(CC) HOSTCC = $(CC)
@ -159,7 +159,7 @@ install-docs:
@echo @echo
install-root: install-root:
if [ ! -d "$(ROOT)" ]; then \ if [ ! -d "$(ROOT)" -o ! -f "$(ROOT)/$(MAP)" ]; then \
mkdir -p $(ROOT); \ mkdir -p $(ROOT); \
$(INSTALL) -m 644 $(MAP) $(ROOT); \ $(INSTALL) -m 644 $(MAP) $(ROOT); \
ln -s $(DOCDIR) $(ROOT)/docs; \ ln -s $(DOCDIR) $(ROOT)/docs; \