From 2404a05d780e16b5d3cbf0ac77c66c8ef501d9fe Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Wed, 13 Aug 2008 06:47:09 +0300 Subject: [PATCH] Make build cruft work. --- 50magit.el | 3 +++ Makefile.am | 14 ++++++++++++++ configure.ac | 4 ++-- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 50magit.el diff --git a/50magit.el b/50magit.el new file mode 100644 index 00000000..b04034db --- /dev/null +++ b/50magit.el @@ -0,0 +1,3 @@ +;;; Autoloads for magit + +(autoload 'magit-status "magit" nil t) diff --git a/Makefile.am b/Makefile.am index f29fc02d..dc46aa16 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,15 @@ +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 diff --git a/configure.ac b/configure.ac index e1523a21..a26b1560 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ -AC_INIT(hildon-application-manager, 2.2.0) -AC_CONFIG_SRCDIR([src/main.cc]) +AC_INIT(magit, 0.5) +AC_CONFIG_SRCDIR([magit.el]) AM_INIT_AUTOMAKE AC_CONFIG_FILES([Makefile])