]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/Makefile.local
Makefiles: Eliminate shell for loops in rule definitions.
[notmuch] / emacs / Makefile.local
index 17ede8635e053326e51c83dd3ac83ab6433c73a1..6e7d2afd1391400f5f62bb1d2d9fe99b07b2565b 100644 (file)
@@ -6,14 +6,8 @@ emacs_bytecode := $(subst .el,.elc,$(emacs_sources))
 emacs: $(emacs_bytecode)
 
 install-emacs: install emacs
-       for d in $(DESTDIR)/$(emacs_lispdir) ; \
-       do \
-               install -d $$d ; \
-       done ;
-       for f in $(emacs_sources) $(emacs_bytecode); \
-       do \
-               install -m0644 $$f $(DESTDIR)$(emacs_lispdir) ;\
-       done;
+       install -d $(DESTDIR)/$(emacs_lispdir)
+       install -m0644 $(emacs_sources) $(emacs_bytecode) $(DESTDIR)$(emacs_lispdir)
        @echo ""
        @echo "The notmuch emacs client is now installed."
        @echo ""