The new release.sh script runs 'make distcheck' by default to create the
tarballs that will be uploaded to the server. The 'distcheck' target
requires that the project support doing "VPATH builds" (a way of running
the build in a different source tree), but input-wacom is not capable of
them.

This patch causes the 'distcheck' target to simply run 'dist' instead.
This allows release.sh to complete successfully without having to pass
the '--dist' flag. When we get to the point of adding actual checks to
input-wacom, this hack will likely need to be removed in favor of
supporting VPATH builds.

Signed-off-by: Jason Gerecke <jason.gere...@wacom.com>
---
 Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 25f8be1..83e726b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,3 +3,7 @@ SUBDIRS = @WCM_KERNEL_VER@
 DIST_SUBDIRS = 2.6.30 2.6.36 2.6.38 3.7 3.17
 EXTRA_DIST = inputattach/inputattach.c inputattach/README \
             inputattach/serio-ids.h
+
+# HACK: VPATH builds don't work at this time, so short-cicruit the
+# distcheck target and directly create the dist tarball
+distcheck: dist ;
-- 
2.5.3


------------------------------------------------------------------------------
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to