Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
39
third-party/vendor/wayland-protocols/wlr-protocols/Makefile
vendored
Normal file
39
third-party/vendor/wayland-protocols/wlr-protocols/Makefile
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
PREFIX=/usr
|
||||
DATADIR=$${datarootdir}
|
||||
DATAROOTDIR=$${prefix}/share
|
||||
|
||||
unstable_protocols = \
|
||||
unstable/wlr-export-dmabuf-unstable-v1.xml \
|
||||
unstable/wlr-gamma-control-unstable-v1.xml \
|
||||
unstable/wlr-input-inhibitor-unstable-v1.xml \
|
||||
unstable/wlr-layer-shell-unstable-v1.xml \
|
||||
unstable/wlr-output-power-management-v1.xml \
|
||||
unstable/wlr-screencopy-unstable-v1.xml
|
||||
|
||||
check:
|
||||
./check.sh
|
||||
|
||||
clean:
|
||||
rm -f wlr-protocols.pc
|
||||
|
||||
wlr-protocols.pc: wlr-protocols.pc.in
|
||||
sed \
|
||||
-e 's:@prefix@:$(PREFIX):g' \
|
||||
-e 's:@datadir@:$(DATADIR):g' \
|
||||
-e 's:@datarootdir@:$(DATAROOTDIR):g' \
|
||||
<$< >$@
|
||||
|
||||
install-unstable: $(unstable_protocols)
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/share/wlr-protocols/unstable
|
||||
for protocol in $^ ; \
|
||||
do \
|
||||
install -Dm644 $$protocol \
|
||||
$(DESTDIR)$(PREFIX)/share/wlr-protocols/$$protocol ; \
|
||||
done
|
||||
|
||||
install-pc: wlr-protocols.pc
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/share/pkgconfig/
|
||||
install -Dm644 wlr-protocols.pc \
|
||||
$(DESTDIR)$(PREFIX)/share/pkgconfig/wlr-protocols.pc
|
||||
|
||||
install: install-unstable install-pc
|
||||
Loading…
Add table
Add a link
Reference in a new issue