Make build cruft work.
This commit is contained in:
parent
44c932322a
commit
2404a05d78
3 changed files with 19 additions and 2 deletions
3
50magit.el
Normal file
3
50magit.el
Normal file
|
@ -0,0 +1,3 @@
|
|||
;;; Autoloads for magit
|
||||
|
||||
(autoload 'magit-status "magit" nil t)
|
14
Makefile.am
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
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue