mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +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 \
|
app.h \
|
||||||
menu.h
|
menu.h
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = wmlib.pc
|
||||||
|
|
||||||
DISTCLEANFILES = 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:
|
install-exec-local:
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
|
$(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
|
||||||
|
|||||||
Reference in New Issue
Block a user