1
0
mirror of https://github.com/Cloudef/bemenu synced 2024-11-22 17:02:05 +01:00

pkgconfig: set include path for header file

This commit is contained in:
Thomas Weißschuh 2021-05-25 10:32:01 +02:00 committed by Jari Vetoniemi
parent 9898036891
commit 44958c3a9b
2 changed files with 3 additions and 1 deletions

@ -45,7 +45,7 @@ $(libs): %: VERSION .git/index
ln -fs $(full) $@
$(pkgconfigs): %: VERSION %.in
sed "s/@VERSION@/$(VERSION)/;s,@PREFIX@,$(PREFIX),;s,@LIBDIR@,$(libdir)," $(addsuffix .in, $@) > $@
sed "s/@VERSION@/$(VERSION)/;s,@PREFIX@,$(PREFIX),;s,@LIBDIR@,$(libdir),;s,@INCLUDEDIR@,$(includedir)," $(addsuffix .in, $@) > $@
bemenu.1: man/bemenu.1.in
sed 's,@LIBDIR@,$(PREFIX)$(libdir),' $< > $@

@ -1,7 +1,9 @@
prefix=@PREFIX@
libdir=${prefix}@LIBDIR@
includedir=${prefix}@INCLUDEDIR@
Name: bemenu
Description: Dynamic menu library
Version: @VERSION@
Libs: -L${libdir} -lbemenu
Cflags: -I${includedir}