According to its commit message, commit afb15b75 intended
to generate 'magit-pkg.el' when creating a Marmalade tarball.

See http://marmalade-repo.org/doc-files/package.5.html

Signed-off-by: Pieter Praet <[email protected]>
---
 Makefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index b7411a0..b50db6a 100644
--- a/Makefile
+++ b/Makefile
@@ -193,8 +193,17 @@ magit-$(VERSION).tar.gz: $(DIST_FILES)
 .PHONY: marmalade
 marmalade: magit-$(VERSION).tar
 
-magit-$(VERSION).tar: $(ELPA_FILES)
+# Not a phony target, but needs to run *every* time.
+.PHONY: magit-pkg.el
+magit-pkg.el:
+       @printf "Generating magit-pkg.el\n"
+       @printf "(define-package \"magit\"\n"     >  $@
+       @printf "  \""$(VERSION)"\"\n"            >> $@
+       @printf "  \"Control Git from Emacs.\")"  >> $@
+
+magit-$(VERSION).tar: $(ELPA_FILES) magit-pkg.el
        $(MKDIR) magit-$(VERSION)
        $(CP) $(ELPA_FILES) magit-$(VERSION)
+       $(CP) magit-pkg.el magit-$(VERSION)
        tar -cv --mtime=./magit-$(VERSION) -f magit-$(VERSION).tar 
magit-$(VERSION)
        rm -rf magit-$(VERSION)
-- 
1.7.11.1

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to