diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-02-16 22:32:15 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-02-16 23:29:26 +0100 |
commit | 2ef45c46a8fc3135dfb2286734ed64a740d27793 (patch) | |
tree | cfa78eee57e5c62feb5fece9b3d0a61db218229e | |
parent | 9bd4096346f76ddba48422cb1eb0fe48cd24861f (diff) |
Add small pkg-config file that can be used by plugins.
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | pkgconfig/rofi.pc.in | 11 |
3 files changed, 18 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 930f812c..508244b0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,6 +8,12 @@ AM_YFLAGS = -d noinst_LIBRARIES = include $(top_srcdir)/libgwater-xcb-nolibtool.mk +## +# PKG CONFIG file +## +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = pkgconfig/rofi.pc + BUILT_SOURCES=\ lexer/theme-parser.h\ diff --git a/configure.ac b/configure.ac index 74538e17..1c1d76a2 100644 --- a/configure.ac +++ b/configure.ac @@ -114,7 +114,7 @@ dnl Add extra compiler flags dnl --------------------------------------------------------------------- AC_SUBST([AM_CFLAGS]) -AC_CONFIG_FILES([Makefile doc/rofi.doxy]) +AC_CONFIG_FILES([Makefile doc/rofi.doxy pkgconfig/rofi.pc]) AC_OUTPUT dnl ----------------------------------------------- diff --git a/pkgconfig/rofi.pc.in b/pkgconfig/rofi.pc.in new file mode 100644 index 00000000..54a4fdb4 --- /dev/null +++ b/pkgconfig/rofi.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + + +Name: rofi +Description: Header files for rofi plugins +Requires: +Version: @VERSION@ +Cflags: -I${includedir}/ |