Fix distcheck where protocol.xsl was missing in the tarball

To reproduce, invoke distcheck from an out-of-source tree.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
This commit is contained in:
Gaetan Nadon 2012-03-03 17:32:57 -05:00 committed by Kristian Høgsberg
parent 8e2cac7ae4
commit bbddbc4829
2 changed files with 4 additions and 2 deletions

1
protocol/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
wayland.html

View file

@ -1,7 +1,8 @@
if HAVE_XSLTPROC
dist_doc_DATA = wayland.html wayland-protocol.css wayland.xml
doc_DATA = wayland.html
dist_doc_DATA = wayland-protocol.css wayland.xml protocol.xsl
wayland.html: $(srcdir)/wayland.xml $(srcdir)/protocol.xsl
wayland.html: wayland.xml protocol.xsl
$(AM_V_GEN)$(XSLTPROC) $(srcdir)/protocol.xsl $(srcdir)/wayland.xml > $@
CLEANFILES = wayland.html