diff --git a/Makefile b/Makefile index b809463..8bce7a7 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,7 @@ ${PROJECT}.pc: ${PROJECT}.pc.in config.mk $(QUIET)echo version=${VERSION} >> ${PROJECT}.pc $(QUIET)echo includedir=${PREFIX}/include >> ${PROJECT}.pc $(QUIET)echo plugindir=${PLUGINDIR} >> ${PROJECT}.pc + $(QUIET)echo GTK_VERSION=${ZATHURA_GTK_VERSION} >> ${PROJECT}.pc $(QUIET)cat ${PROJECT}.pc.in >> ${PROJECT}.pc valgrind: debug diff --git a/tests/Makefile b/tests/Makefile index 272a112..bcb0630 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -46,7 +46,7 @@ ${PROJECT}: options ${OBJECTS} ${OBJECTS}: ../config.mk clean: - $(QUIET)rm -rf ${OBJECTS} ${PROJECT} + $(QUIET)rm -rf ${OBJECTS} ${PROJECT} *.gcno *.gcda .PHONY: all options clean debug diff --git a/zathura.pc.in b/zathura.pc.in index 6e36e4f..659ca85 100644 --- a/zathura.pc.in +++ b/zathura.pc.in @@ -6,4 +6,4 @@ Description: document viewer Version: ${version} URL: http://pwmt.org/projects/zathura Cflags: ${INC_PATH} -Libs: +Requires.private: girara-gtk${GTK_VERSION} gtk+-${GTK_VERSION}-0