From 21fed2fcdad029c1329c5baff7ce427c978b0422 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@gmail.com>
Date: Sat, 21 Mar 2015 18:17:16 +0100
Subject: INCLUDEDIR fixes.


diff --git a/Makefile b/Makefile
index 858f4a8..d76e971 100644
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ ifeq ($(WANT_TEST),yes)
 endif
 
 # Extra installation rules
-I := /include/libutf8proc
+I := /$(INCLUDEDIR)/libutf8proc
 INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libutf8proc/utf8proc.h
 INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
 INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
diff --git a/libutf8proc.pc.in b/libutf8proc.pc.in
index 2155841..f4645c0 100644
--- a/libutf8proc.pc.in
+++ b/libutf8proc.pc.in
@@ -1,7 +1,7 @@
 prefix=PREFIX
 exec_prefix=${prefix}
 libdir=${exec_prefix}/LIBDIR
-includedir=${prefix}/include
+includedir=${prefix}/INCLUDEDIR
 
 Name: libutf8proc
 Description: UTF8 processing
-- 
2.2.2

