mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-09 10:11:42 +01:00
Makefiles: Eliminate shell for loops in rule definitions.
These just made the output look so ugly, and weren't actually making the rule definitions any simpler. Good riddance.
This commit is contained in:
parent
7b52b2c318
commit
8c671a17c0
2 changed files with 6 additions and 13 deletions
|
@ -105,11 +105,10 @@ notmuch.1.gz: notmuch.1
|
||||||
$(call quiet,gzip) --stdout $^ > $@
|
$(call quiet,gzip) --stdout $^ > $@
|
||||||
|
|
||||||
install: all notmuch.1.gz
|
install: all notmuch.1.gz
|
||||||
for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(libdir)/ \
|
install -d $(DESTDIR)$(prefix)/bin/
|
||||||
$(DESTDIR)$(prefix)/include/ $(DESTDIR)$(prefix)/share/man/man1 ; \
|
install -d $(DESTDIR)$(libdir)/
|
||||||
do \
|
install -d $(DESTDIR)$(prefix)/include/
|
||||||
install -d $$d ; \
|
install -d $(DESTDIR)$(prefix)/share/man/man1
|
||||||
done ;
|
|
||||||
install notmuch $(DESTDIR)$(prefix)/bin/
|
install notmuch $(DESTDIR)$(prefix)/bin/
|
||||||
install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/
|
install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/
|
||||||
ifeq ($(MAKECMDGOALS), install)
|
ifeq ($(MAKECMDGOALS), install)
|
||||||
|
|
|
@ -6,14 +6,8 @@ emacs_bytecode := $(subst .el,.elc,$(emacs_sources))
|
||||||
emacs: $(emacs_bytecode)
|
emacs: $(emacs_bytecode)
|
||||||
|
|
||||||
install-emacs: install emacs
|
install-emacs: install emacs
|
||||||
for d in $(DESTDIR)/$(emacs_lispdir) ; \
|
install -d $(DESTDIR)/$(emacs_lispdir)
|
||||||
do \
|
install -m0644 $(emacs_sources) $(emacs_bytecode) $(DESTDIR)$(emacs_lispdir)
|
||||||
install -d $$d ; \
|
|
||||||
done ;
|
|
||||||
for f in $(emacs_sources) $(emacs_bytecode); \
|
|
||||||
do \
|
|
||||||
install -m0644 $$f $(DESTDIR)$(emacs_lispdir) ;\
|
|
||||||
done;
|
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo "The notmuch emacs client is now installed."
|
@echo "The notmuch emacs client is now installed."
|
||||||
@echo ""
|
@echo ""
|
||||||
|
|
Loading…
Reference in a new issue