$(call quiet,gzip) --stdout $^ > $@
install: all notmuch.1.gz
- for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(libdir)/ \
- $(DESTDIR)$(prefix)/include/ $(DESTDIR)$(prefix)/share/man/man1 ; \
- do \
- install -d $$d ; \
- done ;
+ install -d $(DESTDIR)$(prefix)/bin/
+ install -d $(DESTDIR)$(libdir)/
+ install -d $(DESTDIR)$(prefix)/include/
+ install -d $(DESTDIR)$(prefix)/share/man/man1
install notmuch $(DESTDIR)$(prefix)/bin/
install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/
ifeq ($(MAKECMDGOALS), install)
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 ""