mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +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
|
# gnu coding standards
|
||||||
prefix ?= /usr/local
|
prefix ?= /usr/local
|
||||||
exec_prefix ?= $(prefix)
|
PREFIX ?= $(prefix)
|
||||||
|
exec_prefix ?= $(PREFIX)
|
||||||
bindir ?= $(exec_prefix)/bin
|
bindir ?= $(exec_prefix)/bin
|
||||||
libdir ?= $(exec_prefix)/lib
|
libdir ?= $(exec_prefix)/lib
|
||||||
includedir ?= $(prefix)/include
|
includedir ?= $(PREFIX)/include
|
||||||
datarootdir ?= $(prefix)/share
|
datarootdir ?= $(PREFIX)/share
|
||||||
datadir ?= $(datarootdir)
|
datadir ?= $(datarootdir)
|
||||||
mandir ?= $(datarootdir)/man
|
mandir ?= $(datarootdir)/man
|
||||||
man1dir ?= $(mandir)/man1
|
man1dir ?= $(mandir)/man1
|
||||||
|
@ -55,7 +56,8 @@ SNOWSOLIBDIR ?= $(SNOWLIBDIR)
|
||||||
SNOWMODDIR ?= $(SNOWPREFIX)/share/snow
|
SNOWMODDIR ?= $(SNOWPREFIX)/share/snow
|
||||||
SNOWBINMODDIR ?= $(SNOWSOLIBDIR)/snow
|
SNOWBINMODDIR ?= $(SNOWSOLIBDIR)/snow
|
||||||
|
|
||||||
DESTDIR ?=
|
# for packaging tools
|
||||||
|
DESTDIR ?=
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# System configuration - if not using GNU make, set PLATFORM and the
|
# System configuration - if not using GNU make, set PLATFORM and the
|
||||||
|
|
Loading…
Add table
Reference in a new issue