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:
parent
a214290935
commit
c77c0dd87d
1
INSTALL
1
INSTALL
@ -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
|
||||||
|
4
Makefile
4
Makefile
@ -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; \
|
||||||
|
Loading…
Reference in New Issue
Block a user