summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-19 09:11:09 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2014-11-19 09:11:09 (GMT)
commit3a12f6ecc7b201601a7f902c5fdeaf21bb1930b7 (patch)
tree901ce70bb806769fa9174c9349633f81978c5c24
parent257deb32c83dbdd989d2021cdbd5ad7dbb28386f (diff)
downloadlibnsutils-3a12f6ecc7b201601a7f902c5fdeaf21bb1930b7.tar.gz
libnsutils-3a12f6ecc7b201601a7f902c5fdeaf21bb1930b7.tar.bz2
Add missing pkg-config and make installable
-rw-r--r--.gitignore1
-rw-r--r--Makefile3
-rw-r--r--libnsutils.pc.in10
3 files changed, 13 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 179b224..f0516b9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
+*~
build-*
diff --git a/Makefile b/Makefile
index e371558..f76e305 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,7 @@ include $(NSBUILD)/Makefile.top
# Extra installation rules
I := /include/nsutils
-INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nsutils/utils.h
+INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nsutils/errors.h
+INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nsutils/base64.h
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
diff --git a/libnsutils.pc.in b/libnsutils.pc.in
new file mode 100644
index 0000000..c30afe0
--- a/dev/null
+++ b/libnsutils.pc.in
@@ -0,0 +1,10 @@
+prefix=PREFIX
+exec_prefix=${prefix}
+libdir=${exec_prefix}/LIBDIR
+includedir=${prefix}/include
+
+Name: libnsutils
+Description: NetSurf utilities
+Version: VERSION
+Libs: -L${libdir} -lnsutils
+Cflags: -I${includedir}