Make 'dist-hook' targets, which copy the .spec file into $(distdir),



Make 'dist-hook' targets, which copy the .spec file into $(distdir), depend upon the
.spec file, so that the .spec file will be regenerated when a previously-compiled tree
is 'dist'd with a new version number.
diff --git a/Makefile.am b/Makefile.am
index 3a0105c..83a5c20 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -234,7 +234,7 @@
 	      rm result.$$name ; \
 	  fi ; fi ; done)
 
-dist-hook:
+dist-hook: libxml.spec
 	cp libxml.spec $(distdir)
 
 ## We create xmlConf.sh here and not from configure because we want