mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
allow either prefix or PREFIX
This commit is contained in:
parent
f343708f1f
commit
b4d2370713
1 changed files with 6 additions and 4 deletions
|
@ -29,11 +29,12 @@ LDCONFIG ?= ldconfig
|
|||
|
||||
# gnu coding standards
|
||||
prefix ?= /usr/local
|
||||
exec_prefix ?= $(prefix)
|
||||
PREFIX ?= $(prefix)
|
||||
exec_prefix ?= $(PREFIX)
|
||||
bindir ?= $(exec_prefix)/bin
|
||||
libdir ?= $(exec_prefix)/lib
|
||||
includedir ?= $(prefix)/include
|
||||
datarootdir ?= $(prefix)/share
|
||||
includedir ?= $(PREFIX)/include
|
||||
datarootdir ?= $(PREFIX)/share
|
||||
datadir ?= $(datarootdir)
|
||||
mandir ?= $(datarootdir)/man
|
||||
man1dir ?= $(mandir)/man1
|
||||
|
@ -55,7 +56,8 @@ SNOWSOLIBDIR ?= $(SNOWLIBDIR)
|
|||
SNOWMODDIR ?= $(SNOWPREFIX)/share/snow
|
||||
SNOWBINMODDIR ?= $(SNOWSOLIBDIR)/snow
|
||||
|
||||
DESTDIR ?=
|
||||
# for packaging tools
|
||||
DESTDIR ?=
|
||||
|
||||
########################################################################
|
||||
# System configuration - if not using GNU make, set PLATFORM and the
|
||||
|
|
Loading…
Add table
Reference in a new issue