[Pkg-wmaker-commits] [wmaker] 15/24: wmlib: Add pkg-config file.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Mar 24 20:09:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch upstream
in repository wmaker.

commit af892d7dd60219f6165e1534a7c3b97d252c448f
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Fri Jan 22 23:32:57 2016 -0500

    wmlib: Add pkg-config file.
---
 wmlib/Makefile.am | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/wmlib/Makefile.am b/wmlib/Makefile.am
index c6432b6..9169aae 100644
--- a/wmlib/Makefile.am
+++ b/wmlib/Makefile.am
@@ -18,8 +18,20 @@ libWMaker_la_SOURCES = 	\
 	app.h		\
 	menu.h	
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = wmlib.pc
+
 DISTCLEANFILES = wmlib.pc
 
+wmlib.pc: Makefile
+	@echo "Generating $@"
+	@echo 'Name: wmlib' > $@
+	@echo 'Description: Window Maker interface definitions' >> $@
+	@echo 'Version: $(VERSION)' >> $@
+	@echo 'Requires: x11' >> $@
+	@echo 'Libs: $(lib_search_path) -lWMaker' >> $@
+	@echo 'Cflags: $(inc_search_path)' >> $@
+
 install-exec-local:
 	@$(NORMAL_INSTALL)
 	$(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmaker.git



More information about the Pkg-wmaker-commits mailing list