Skip to content
Browse files

Make build cruft work.

  • Loading branch information...
1 parent 44c9323 commit 2404a05d780e16b5d3cbf0ac77c66c8ef501d9fe Marius Vollmer committed
Showing with 19 additions and 2 deletions.
  1. +3 −0 50magit.el
  2. +14 −0 Makefile.am
  3. +2 −2 configure.ac
View
3 50magit.el
@@ -0,0 +1,3 @@
+;;; Autoloads for magit
+
+(autoload 'magit-status "magit" nil t)
View
14 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
View
4 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])

0 comments on commit 2404a05

Please sign in to comment.
Something went wrong with that request. Please try again.