From 9dd8bfc5652cfa089bc2381385631818cb09453f Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Mon, 9 Jun 2014 20:32:12 +0200
Subject: Fix paths for Haiku.


diff --git a/Makefile b/Makefile
index 392d9da..6925cab 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ endif
 include $(NSBUILD)/Makefile.top
 
 # Extra installation rules
-I := /include
+I := /$(INCLUDEDIR)
 INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/svgtiny.h
 INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
 INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
diff --git a/libsvgtiny.pc.in b/libsvgtiny.pc.in
index a3021f6..c9ca402 100644
--- a/libsvgtiny.pc.in
+++ b/libsvgtiny.pc.in
@@ -1,7 +1,7 @@
 prefix=PREFIX
 exec_prefix=${prefix}
 libdir=${exec_prefix}/LIBDIR
-includedir=${prefix}/include
+includedir=${prefix}/INCLUDEDIR
 
 Name: libsvgtiny
 Description: SVG Tiny 1.1 rendering library
-- 
1.8.3.4

