Hi, in preparation to compare the existing Makefile's results to my autotools patched version, I stumbled upon another issue with the current Makefile: The rule for dist has dependen- cies for "autoloads clean". This leads to building the auto- loads file and then deleting it immediately afterwards.
Another problem was that the autoloads filename in the dist target was different to the one used in the autoloads target. The attached patch reverses the order of the dependencies and fixes the autoloads filename and so allows dist to suc- ceed. Tim
diff --git a/Makefile b/Makefile index c3fe8f2..b1df5bb 100644 --- a/Makefile +++ b/Makefile @@ -55,11 +55,11 @@ clean: -rm -f *~ $(DOCDIR)/emms.info $(DOCDIR)/emms.html emms-print-metadata $(MAKE) -C $(LISPDIR) clean -dist: autoloads clean +dist: clean autoloads git archive --format=tar --prefix=emms-$(VERSION)/ HEAD | \ (cd .. && tar xf -) rm -f ../emms-$(VERSION)/.gitignore - cp lisp/emms-autoloads.el ../emms-$(VERSION)/lisp + cp lisp/emms-auto.el ../emms-$(VERSION)/lisp git log --pretty=medium > ../emms-$(VERSION)/ChangeLog release: dist
_______________________________________________ Emms-help mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emms-help
