mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +01:00
wmlib: Add pkg-config file.
This commit is contained in:
committed by
Carlos R. Mafra
parent
7fa14a0137
commit
af892d7dd6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user