[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emms-help] [PATCH] Makefile: autoloads/dist hiccups
From: |
Tim Landscheidt |
Subject: |
[emms-help] [PATCH] Makefile: autoloads/dist hiccups |
Date: |
Sun, 13 Jun 2010 20:02:19 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
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] [PATCH] Makefile: autoloads/dist hiccups,
Tim Landscheidt <=