Make build cruft work.

This commit is contained in:
Marius Vollmer 2008-08-13 06:47:09 +03:00
parent 44c932322a
commit 2404a05d78
3 changed files with 19 additions and 2 deletions

3
50magit.el Normal file
View file

@ -0,0 +1,3 @@
;;; Autoloads for magit
(autoload 'magit-status "magit" nil t)

View file

@ -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 file

@ -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])