- for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(libdir)/ \
- $(DESTDIR)$(prefix)/include/ $(DESTDIR)$(prefix)/share/man/man1 ; \
- do \
- install -d $$d ; \
- done ;
- install notmuch $(DESTDIR)$(prefix)/bin/
- install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/
+ $(call quiet_mkdir, $(DESTDIR)$(prefix)/bin/)
+ $(call quiet_mkdir, $(DESTDIR)$(libdir)/)
+ $(call quiet_mkdir, $(DESTDIR)$(prefix)/include/)
+ $(call quiet_mkdir, $(DESTDIR)$(prefix)/share/man/man1)
+ $(call quiet_install_bin, notmuch $(DESTDIR)$(prefix)/bin/)
+ $(call quiet_install_data, notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/)