Makefile: handle also stable wayland-protocols
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 18 Feb 2016 14:56:13 +0000 (16:56 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 23 Feb 2016 12:21:00 +0000 (14:21 +0200)
commit35552aafc78405cf90d6895edfe51e5e859363da
tree8feaf1bb3ea38fe1eb4bddc785b33bf1118ee7c0
parent2e49794f0fb3afeca2fd1646a3485d073ff03f87
Makefile: handle also stable wayland-protocols

Fix the protostability function to handle stable protocol files
correctly. Stable protocol XML file names do not have 'stable' in their
name, nor do we want to write that in the prerequisite lists in the
Makefile.

Function 'protoname' does not need fixing, because for stable protocol
prerequisites, the sed pattern will not match, and it passes stem
through as is, which is correct.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Makefile.am