mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-09 05:34:31 -04:00
build: Add wayland-scanner.pc.
To allow user program to include wayland-scanner.m4 in tarball, move the path variables from it into wayland-scanner.pc.
This commit is contained in:
parent
60fc83af6e
commit
40fc79d5b0
7 changed files with 32 additions and 18 deletions
|
|
@ -57,6 +57,9 @@ wayland_scanner_SOURCES = \
|
|||
wayland_scanner_LDADD = $(EXPAT_LIBS) libwayland-util.la
|
||||
|
||||
$(BUILT_SOURCES) : wayland-scanner
|
||||
|
||||
scannerpkgconfigdir = $(datadir)/pkgconfig
|
||||
scannerpkgconfig_DATA = wayland-scanner.pc
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = \
|
||||
|
|
|
|||
6
src/wayland-scanner-uninstalled.pc.in
Normal file
6
src/wayland-scanner-uninstalled.pc.in
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
pkgdatadir=@abs_top_srcdir@
|
||||
wayland_scanner=@abs_builddir@/wayland-scanner
|
||||
|
||||
Name: Wayland Scanner
|
||||
Description: Wayland scanner (not installed)
|
||||
Version: @PACKAGE_VERSION@
|
||||
9
src/wayland-scanner.pc.in
Normal file
9
src/wayland-scanner.pc.in
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
datarootdir=@datarootdir@
|
||||
pkgdatadir=@datadir@/@PACKAGE@
|
||||
wayland_scanner=@bindir@/wayland-scanner
|
||||
|
||||
Name: Wayland Scanner
|
||||
Description: Wayland scanner
|
||||
Version: @WAYLAND_VERSION@
|
||||
Loading…
Add table
Add a link
Reference in a new issue