protocol: fix make distcheck
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 29 Feb 2012 00:40:53 +0000 (10:40 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 29 Feb 2012 02:29:08 +0000 (12:29 +1000)
Distribute all source files that we need for buildling.
Plus, remove the html file on make clean.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
protocol/Makefile.am

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