mirror of
https://github.com/rfc1036/whois.git
synced 2026-08-31 07:30:22 +00:00
Support DESTDIR in the Makefiles
This commit is contained in:
parent
2d71289a04
commit
7c9e990253
4
Makefile
4
Makefile
@ -1,5 +1,9 @@
|
||||
prefix = /usr
|
||||
|
||||
ifdef DESTDIR
|
||||
BASEDIR := $(DESTDIR)
|
||||
endif
|
||||
|
||||
CFLAGS ?= -g -O2
|
||||
|
||||
PKG_CONFIG ?= pkg-config
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
prefix = /usr
|
||||
|
||||
ifdef DESTDIR
|
||||
BASEDIR := $(DESTDIR)
|
||||
endif
|
||||
|
||||
INSTALL= install
|
||||
|
||||
INSTALLNLSDIR=$(BASEDIR)$(prefix)/share/locale
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user