diff options
author | Adrien Destugues <pulkomandy@pulkomandy.tk> | 2014-06-08 18:12:27 +0200 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-03-21 21:45:04 +0000 |
commit | cdde8cbaed88f06c373f6d5add7273fd97e77d21 (patch) | |
tree | 589976a42f15cf27b3f746b0a7653fb4787c843a | |
parent | 6906b39b909b3248434c63f2ebeb380543911546 (diff) | |
download | buildsystem-cdde8cbaed88f06c373f6d5add7273fd97e77d21.tar.gz buildsystem-cdde8cbaed88f06c373f6d5add7273fd97e77d21.tar.bz2 |
Add support for INCLUDEDIR in pkg-config files.
-rw-r--r-- | makefiles/Makefile.tools | 5 | ||||
-rw-r--r-- | makefiles/Makefile.top | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools index 8a104d7..74bc17f 100644 --- a/makefiles/Makefile.tools +++ b/makefiles/Makefile.tools @@ -22,6 +22,8 @@ # (defaults to /usr/local) # LIBDIR Library installation directory in ${PREFIX} # (defaults to lib) +# INCLUDEDIR Header installation directory in ${PREFIX} +# (defaults to include) # ############################################################################### @@ -241,6 +243,9 @@ PREFIX ?= /usr/local # Default libdir LIBDIR ?= lib +# Default includedir +INCLUDEDIR ?= include + ############################################################################### # Tool defaults ############################################################################### diff --git a/makefiles/Makefile.top b/makefiles/Makefile.top index 38922d1..07d3373 100644 --- a/makefiles/Makefile.top +++ b/makefiles/Makefile.top @@ -295,6 +295,7 @@ define install_pkgconfig -e 's#MAJOR#$(major-version)#' \ -e 's#MINOR#$(minor-version)#' \ -e 's#PATCH#$(patch-version)#' \ + -e 's#INCLUDEDIR#$(INCLUDEDIR)#' \ -e 's#VERSION#$(COMPONENT_VERSION)#' \ -e 's#REQUIRED#$(__required)#' \ -e 's#LIBRARIES#$(__libraries)#' \ |