summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Destugues <pulkomandy@pulkomandy.tk>2014-06-08 20:42:45 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2015-03-21 22:43:53 (GMT)
commit5ab93365aff6d1f9e960f51e70736ba689d48680 (patch)
tree0a0cbf5dd1abe6d35f1dac77778e620ed7011512
parent64515935e1f08b0cf29beb5e3526b83ee3404e61 (diff)
downloadlibwapcaplet-5ab93365aff6d1f9e960f51e70736ba689d48680.tar.gz
libwapcaplet-5ab93365aff6d1f9e960f51e70736ba689d48680.tar.bz2
Fix include dirs for Haiku.
-rw-r--r--Makefile2
-rw-r--r--libwapcaplet.pc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 27ad01a..5c730a1 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ ifeq ($(WANT_TEST),yes)
endif
# Extra installation rules
-I := /include/libwapcaplet
+I := /$(INCLUDEDIR)/libwapcaplet
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libwapcaplet/libwapcaplet.h
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
diff --git a/libwapcaplet.pc.in b/libwapcaplet.pc.in
index 9bdfdf5..9c05e37 100644
--- a/libwapcaplet.pc.in
+++ b/libwapcaplet.pc.in
@@ -1,7 +1,7 @@
prefix=PREFIX
exec_prefix=${prefix}
libdir=${exec_prefix}/LIBDIR
-includedir=${prefix}/include
+includedir=${prefix}/INCLUDEDIR
Name: libwapcaplet
Description: String internalisation dictionary