Change PREFIX and LIBDIR to lowercase

This is the standard name.
This commit is contained in:
Milan Bouchet-Valat 2014-01-07 21:54:15 +01:00
parent 251814ebb3
commit bb40f6c7a8
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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/