diff options
author | Christoph J. Thompson <cjsthompson@gmail.com> | 2012-03-01 17:46:26 +0100 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2012-04-12 09:49:10 -0700 |
commit | 5c434a9e5a5eafec09ec9939b255948843423f80 (patch) | |
tree | ea4e64f54b2be453ae8d8afe7e5da7ad0c4afc54 /Makefile | |
parent | 761a1e602862b5f26b4e7e748fe51303a628958f (diff) |
iproute2 - Fix up and simplify variables pointing to install directories
Define where is the are located the iproute2 config files.
Get rid of trailing slashes for paths in several file.
Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,10 +1,11 @@ -DESTDIR=/usr/ ROOTDIR=$(DESTDIR) -LIBDIR=/usr/lib/ +PREFIX=/usr +LIBDIR=$(PREFIX)/lib SBINDIR=/sbin CONFDIR=/etc/iproute2 -DOCDIR=/share/doc/iproute2 -MANDIR=/share/man +DATADIR=$(PREFIX)/share +DOCDIR=$(DATADIR)/doc/iproute2 +MANDIR=$(DATADIR)/man ARPDDIR=/var/lib/arpd # Path to db_185.h include @@ -17,6 +18,8 @@ ifneq ($(SHARED_LIBS),y) DEFINES+= -DNO_SHARED_LIBS endif +DEFINES+=-DCONFDIR=\"$(CONFDIR)\" + #options if you have a bind>=4.9.4 libresolv (or, maybe, glibc) LDLIBS=-lresolv ADDLIB= |