X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile.local;h=2efef4158efb5dd326f3bb59b751339c2fde0074;hp=aa822f6aae26d8d8fbadc3e7465644f11d03a9e6;hb=8c671a17c04a4fa2104864cea8d18e84a7b516e9;hpb=ab95219a2fe3b7e3a019b98651e7cd7f36e411b3 diff --git a/Makefile.local b/Makefile.local index aa822f6a..2efef415 100644 --- a/Makefile.local +++ b/Makefile.local @@ -104,18 +104,12 @@ notmuch: $(notmuch_client_modules) lib/libnotmuch.so notmuch.1.gz: notmuch.1 $(call quiet,gzip) --stdout $^ > $@ -SONAME = libnotmuch.so.1 - 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 lib/$(SONAME) $(DESTDIR)$(libdir)/ - install lib/notmuch.h $(DESTDIR)$(prefix)/include/ - ln -sf $(SONAME) $(DESTDIR)$(libdir)/libnotmuch.so install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/ ifeq ($(MAKECMDGOALS), install) @echo ""