From f094cf954fe20d718df8da777ccb9f10cca09315 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@gmail.com>
Date: Sat, 21 Mar 2015 19:05:43 +0100
Subject: fix for INCLUDEDIR


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
-- 
2.2.2

