From bb40f6c7a8e4f24dbbddde7a3d302a540bec252a Mon Sep 17 00:00:00 2001 From: Milan Bouchet-Valat Date: Tue, 7 Jan 2014 21:54:15 +0100 Subject: [PATCH] Change PREFIX and LIBDIR to lowercase This is the standard name. --- Make.inc | 4 ++-- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Make.inc b/Make.inc index 22ed829..4438f8d 100644 --- a/Make.inc +++ b/Make.inc @@ -4,8 +4,8 @@ OS := $(shell uname) VERSION = 0.1.0 VERSION_SPLIT = $(subst ., , $(VERSION)) DESTDIR = -PREFIX = /usr/local -libdir = $(PREFIX)/lib +prefix = /usr/local +libdir = $(prefix)/lib FC = gfortran FFLAGS += -O3 diff --git a/Makefile b/Makefile index 4268453..fa1ae4e 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,6 @@ distclean: install: all mkdir -p $(DESTDIR)$(libdir) - mkdir -p $(DESTDIR)$(PREFIX)/include + mkdir -p $(DESTDIR)$(prefix)/include cp -a libopenlibm.$(SHLIB_EXT)* libopenlibm.a $(DESTDIR)$(libdir)/ - cp -a src/openlibm.h $(DESTDIR)$(PREFIX)/include/ + cp -a src/openlibm.h $(DESTDIR)$(prefix)/include/