summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Destugues <pulkomandy@gmail.com>2015-03-21 18:05:43 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2015-03-22 10:35:44 (GMT)
commitee700511bdd5af06304382abf0d6ff4cc9bd43f0 (patch)
tree0eb4e45e595914b73ce6b2046e96b83838099018
parent62f1e9f6653037cf787d03af0370a7c822b41b30 (diff)
downloadlibnsutils-ee700511bdd5af06304382abf0d6ff4cc9bd43f0.tar.gz
libnsutils-ee700511bdd5af06304382abf0d6ff4cc9bd43f0.tar.bz2
fix for INCLUDEDIR
-rw-r--r--Makefile2
-rw-r--r--libnsutils.pc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 807ba75..fa44370 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ TESTLDFLAGS := -lm -l$(COMPONENT) $(TESTLDFLAGS)
include $(NSBUILD)/Makefile.top
# Extra installation rules
-I := /include/nsutils
+I := /$(INCLUDEDIR)/nsutils
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nsutils/errors.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nsutils/base64.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nsutils/time.h
diff --git a/libnsutils.pc.in b/libnsutils.pc.in
index 38023de..a327662 100644
--- a/libnsutils.pc.in
+++ b/libnsutils.pc.in
@@ -1,7 +1,7 @@
prefix=PREFIX
exec_prefix=${prefix}
libdir=${exec_prefix}/LIBDIR
-includedir=${prefix}/include
+includedir=${prefix}/INCLUDEDIR
Name: libnsutils
Description: NetSurf utilities