summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Destugues <pulkomandy@pulkomandy.tk>2014-06-08 16:39:53 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2015-03-21 21:47:53 (GMT)
commit93104d99c4bc2ce809ac6919624c864efbb60577 (patch)
tree86f97306efc528d875eecdc89bd4be82de3eafef
parent4c77899e7d85e889bd5a247a919f2c5bc244d2f9 (diff)
downloadlibparserutils-93104d99c4bc2ce809ac6919624c864efbb60577.tar.gz
libparserutils-93104d99c4bc2ce809ac6919624c864efbb60577.tar.bz2
Fix include directories for Haiku.
-rw-r--r--Makefile8
-rw-r--r--libparserutils.pc.in2
2 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index f5dc66e..0d9306b 100644
--- a/Makefile
+++ b/Makefile
@@ -33,19 +33,19 @@ include $(NSBUILD)/Makefile.top
# Extra installation rules
Is := include/parserutils
-I := /include/parserutils
+I := /$(INCLUDEDIR)/parserutils
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/errors.h;$(Is)/functypes.h;$(Is)/parserutils.h;$(Is)/types.h
Is := include/parserutils/charset
-I := /include/parserutils/charset
+I := /$(INCLUDEDIR)/parserutils/charset
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/codec.h;$(Is)/mibenum.h;$(Is)/utf16.h;$(Is)/utf8.h
Is := include/parserutils/input
-I := /include/parserutils/input
+I := /$(INCLUDEDIR)/parserutils/input
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/inputstream.h
Is := include/parserutils/utils
-I := /include/parserutils/utils
+I := /$(INCLUDEDIR)/parserutils/utils
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/buffer.h;$(Is)/stack.h;$(Is)/vector.h
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
diff --git a/libparserutils.pc.in b/libparserutils.pc.in
index 307e909..1a46cf8 100644
--- a/libparserutils.pc.in
+++ b/libparserutils.pc.in
@@ -1,7 +1,7 @@
prefix=PREFIX
exec_prefix=${prefix}
libdir=${exec_prefix}/LIBDIR
-includedir=${prefix}/include
+includedir=${prefix}/INCLUDEDIR
Name: libparserutils
Description: Utility library for facilitating parser development