Add small pkg-config file that can be used by plugins.

This commit is contained in:
Dave Davenport 2017-02-16 22:32:15 +01:00
parent 9bd4096346
commit 2ef45c46a8
3 changed files with 18 additions and 1 deletions

View File

@ -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\

View File

@ -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 -----------------------------------------------

11
pkgconfig/rofi.pc.in Normal file
View File

@ -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}/