diff options
Diffstat (limited to 'emacs.d/lisp/magit/Makefile.am')
-rw-r--r-- | emacs.d/lisp/magit/Makefile.am | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/emacs.d/lisp/magit/Makefile.am b/emacs.d/lisp/magit/Makefile.am new file mode 100644 index 0000000..8ae4192 --- /dev/null +++ b/emacs.d/lisp/magit/Makefile.am @@ -0,0 +1,24 @@ +lispdir = $(datadir)/emacs/site-lisp +sitestartdir = $(sysconfdir)/emacs/site-start.d + +lisp_DATA = magit.el magit.elc +sitestart_DATA = 50magit.el + +info_TEXINFOS = magit.texi + +CLEANFILES = magit.elc +EXTRA_DIST = magit.el 50magit.el + +%.elc: %.el + @if [ $(builddir) != $(srcdir) ]; then ln $(srcdir)/$*.el .; fi + emacs --batch --eval '(byte-compile-file "$*.el")' + @if [ $(builddir) != $(srcdir) ]; then rm -f $*.el; fi + + +elpa: magit-pkg.el info + -@rm -rf magit-$(VERSION) + mkdir magit-$(VERSION) + cp magit.el magit-pkg.el magit.info magit-$(VERSION) + (cd magit-$(VERSION); ginstall-info --dir-file=dir magit.info) + tar cf magit-$(VERSION).tar magit-$(VERSION) + @rm -rf magit-$(VERSION) |