--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 5.11 2008/05/16 20:15:22 uzuul Exp $
+## $Id: Makefile.am,v 5.12 2009/07/07 20:44:44 lirc Exp $
 
 ## Process this file with automake to produce Makefile.in 
 ## Makefile.am, (c)1999 Tom Wheeley <tw104@york.ac.uk>
@@ -36,6 +36,7 @@
 	./data2setup.sh > setup-driver.sh
 
 dist-hook:
+	(cd $(srcdir)/contrib/hal/ && ./gen-hal-fdi.pl)
 	for f in contrib remotes; do \
 		cp -pr $(srcdir)/$$f $(distdir)/$$f; done
 	rm -r `find $(distdir) -name "CVS"`