]> git.notmuchmail.org Git - notmuch/commitdiff
Merge commit '0.6.1'
authorDavid Bremner <bremner@debian.org>
Mon, 18 Jul 2011 01:18:58 +0000 (22:18 -0300)
committerDavid Bremner <bremner@debian.org>
Mon, 18 Jul 2011 01:20:37 +0000 (22:20 -0300)
Conflicts:
lib/Makefile.local

The conflicts are from three kinds of commits not merged into release:
    - typo fixes
    - removal of debug output
    - fix for CLEAN rule

That were never merged into the release branch.

1  2 
lib/Makefile.local

diff --combined lib/Makefile.local
index 88d8debca8e19600cf86cded2ae27cf77ea93e84,a6076ab5df19fc38f77741a10ae81c2b70dd80af..9210f0e543f814392f3038777b76a948c5cfe2a5
@@@ -72,12 -72,11 +72,10 @@@ $(dir)/libnotmuch.a: $(libnotmuch_modul
        $(call quiet,AR) rcs $@ $^
  
  $(dir)/$(LIBNAME): $(libnotmuch_modules) notmuch.sym
 -      echo $(libnotmuch_modules)
        $(call quiet,CXX $(CXXFLAGS)) $(libnotmuch_modules) $(FINAL_LIBNOTMUCH_LDFLAGS) $(LIBRARY_LINK_FLAG) -o $@
  
  notmuch.sym: lib/notmuch.h
-       printf "{\nglobal:\n" > notmuch.sym
-       sed  -n 's/^[[:space:]]*\(notmuch_[a-z_]*\)[[:space:]]*(.*/'"`printf "\t"`"'\1;/p' $< >> notmuch.sym
-       printf "local: *;\n};\n" >> notmuch.sym
+       sh lib/gen-version-script.sh $< $(libnotmuch_modules) > $@
  
  $(dir)/$(SONAME): $(dir)/$(LIBNAME)
        ln -sf $(LIBNAME) $@
@@@ -87,7 -86,7 +85,7 @@@ $(dir)/$(LINKER_NAME): $(dir)/$(SONAME
  
  install: install-$(dir)
  
 -# The (often-reused) $dir works fine within targets/pre-requisites,
 +# The (often-reused) $dir works fine within targets/prerequisites,
  # but cannot be used reliably within commands, so copy its value to a
  # variable that is not reused.
  lib := $(dir)
@@@ -101,6 -100,4 +99,6 @@@ install-$(dir): $(dir)/$(LIBNAME
        $(LIBRARY_INSTALL_POST_COMMAND)
  
  SRCS  := $(SRCS) $(libnotmuch_c_srcs) $(libnotmuch_cxx_srcs)
 -CLEAN := $(CLEAN) $(libnotmuch_modules) $(dir)/$(SONAME) $(dir)/$(LINKER_NAME) $(dir)$(LIBNAME) libnotmuch.a notmuch.sym
 +CLEAN += $(libnotmuch_modules) $(dir)/$(SONAME) $(dir)/$(LINKER_NAME)
 +CLEAN += $(dir)/$(LIBNAME) $(dir)/libnotmuch.a notmuch.sym
 +CLEAN += $(dir)/notmuch.h.gch