]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
Makefile: Fix to print CFLAGS with "make V=0"
[notmuch] / Makefile.local
index aa822f6aae26d8d8fbadc3e7465644f11d03a9e6..d9fd1d93a8b617f657cc9069984b0284356abc6a 100644 (file)
@@ -42,7 +42,7 @@ quiet = @printf $(quiet_DOC)$(eval quiet_DOC:=)"  $1 $2       $@\n"; $($1)
 endif
 # The user has explicitly enabled quiet compilation.
 ifeq ($(V),0)
-quiet = @printf "  $1  $@\n"; $($1)
+quiet = @printf "  $1 $2       $@\n"; $($1)
 endif
 # Otherwise, print the full command line.
 quiet ?= $($1)
@@ -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 ""