]> rtime.felk.cvut.cz Git - notmuch.git/commitdiff
emacs install: make sure all components to be installed are there
authorTomi Ollila <tomi.ollila@iki.fi>
Sat, 10 May 2014 21:36:43 +0000 (00:36 +0300)
committerDavid Bremner <david@tethera.net>
Sun, 15 Jun 2014 18:40:51 +0000 (15:40 -0300)
`make install-emacs` will copy $(emacs_sources), $(emacs_images) and
$(emacs_bytecode) to their target directories. $(emacs_bytecode) was
already a prerequisite of make install-emacs as these obviously needed
to be build. Until a while ago all of $(emacs_sources) was available
in the repository, but now it includes `notmuch-version.el` which
is generated. In the future we may have generated emacs images too.

emacs/Makefile.local

index dcb4995323af9e866766d35e58a3c42dcdb9a6a5..c0d6b190c3c88ffa0b02a8a3471560e3df846ce2 100644 (file)
@@ -69,7 +69,7 @@ install: install-emacs
 endif
 
 .PHONY: install-emacs
-install-emacs:
+install-emacs: $(emacs_sources) $(emacs_images)
        mkdir -p "$(DESTDIR)$(emacslispdir)"
        install -m0644 $(emacs_sources) "$(DESTDIR)$(emacslispdir)"
 ifeq ($(HAVE_EMACS),1)