Skip to content

Commit

Permalink
Fixed install directory issue
Browse files Browse the repository at this point in the history
Now you can specify LIBDIR and INCLUDEDIR along with
DESTDIR while installing. The library goes into
/usr/local by default, but the target directory can
change (for instance when installing from a package).
  • Loading branch information
pazdera committed Aug 23, 2011
1 parent 91692ff commit 9d0cee8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ REAL_NAME=$(SONAME).$(MINOR_VERSION).$(RELEASE)
STATIC_NAME=$(NAME).a

DESTDIR=
HEADERS_INSTALL_PATH=$(DESTDIR)/usr/local/include
LIB_INSTALL_PATH=$(DESTDIR)/usr/local/lib
INCLUDEDIR=/usr/local/include
LIBDIR=/usr/local/lib

HEADERS_INSTALL_PATH=$(DESTDIR)$(INCLUDEDIR)
LIB_INSTALL_PATH=$(DESTDIR)$(LIBDIR)

HEADERS_DIR=include/
DOCUMENTATION_DIR=doc/
Expand Down

0 comments on commit 9d0cee8

Please sign in to comment.