Allowing LIBDIR to be set different from PREFIX, if needed. Based on SF.net Bug #3187558
This commit is contained in:
parent
7549a2e044
commit
71045ce8c5
1 changed files with 8 additions and 1 deletions
9
Makefile
9
Makefile
|
|
@ -129,9 +129,12 @@ LOCALE_PREFIX=$(DESTDIR)$(PREFIX)/share/locale
|
||||||
# IM files
|
# IM files
|
||||||
IM_PREFIX=$(DESTDIR)$(PREFIX)/share/tuxpaint/im
|
IM_PREFIX=$(DESTDIR)$(PREFIX)/share/tuxpaint/im
|
||||||
|
|
||||||
|
# Libraries
|
||||||
|
LIBDIR=$(PREFIX)
|
||||||
|
|
||||||
# Magic Tool plug-ins
|
# Magic Tool plug-ins
|
||||||
INCLUDE_PREFIX:=$(DESTDIR)$(PREFIX)/include
|
INCLUDE_PREFIX:=$(DESTDIR)$(PREFIX)/include
|
||||||
MAGIC_PREFIX:=$(DESTDIR)$(PREFIX)/lib/tuxpaint/plugins
|
MAGIC_PREFIX:=$(DESTDIR)$(LIBDIR)/lib/tuxpaint/plugins
|
||||||
|
|
||||||
|
|
||||||
# Docs and man page:
|
# Docs and man page:
|
||||||
|
|
@ -244,6 +247,10 @@ MOUSE_CFLAGS:=-Isrc/$(MOUSEDIR) -D$(CURSOR_SHAPES)_CURSOR_SHAPES
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
|
||||||
|
foo:
|
||||||
|
@echo Libdir = $(LIBDIR)
|
||||||
|
@echo Prefix = $(PREFIX)
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
#############################################################################
|
#############################################################################
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue