aboutsummaryrefslogtreecommitdiff
path: root/Makefile.local
AgeCommit message (Collapse)Author
2010-04-14Makefile: Move include of Makefile.config up from Makefile.localCarl Worth
The recent change to include sub-directory Makefile.local files before the top-level Makefile.local means that we need to include the Makefile.config before those. So move it up from Makefile.local to Makefile.
2010-04-14Fix up Makefile for build.Aaron Ecay
Must set extra_c(xx)flags before including subdir Makefile.local's, so that there is a blank slate that the subdirs can add on to. Must include subdir Makefile.local's before global one, otherwise the compat sources are not added to the list of those to be compiled. Signed-off-by: Aaron Ecay <aaronecay@gmail.com>
2010-04-14Use C++ compiler to link notmuch binariesAaron Ecay
Since the binaries contain C++ code, it is necessary to use the C++ linker, or errors result on some platforms (OS X). Signed-off-by: Aaron Ecay <aaronecay@gmail.com>
2010-04-13Decode headers in replyMichal Sojka
When headers contain non-ASCII characters, they are encoded according to rfc2047. Nomtuch reply command emits the headers in the encoded form, which makes them hard to read by humans who compose the reply. For example instead of "Subject: Re: Rozlučka" one currently sees "Subject: Re: =?iso-8859-2?q?Rozlu=E8ka?=". This patch adds a new GMime filter which is used to decode headers to UTF-8 and uses this filter when notmuch reply outputs headers. Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
2010-04-09Derive version numbers from gitMichal Sojka
I often have several versions of notmuch compiled and it would be very helpful to be able to distinguish between them. Git has a very nice feature to make intermediate numbering automatic and unambiguous so let's use it here. For tagged versions, the version is the name of the tag, for intermediate versions, the unique ID of the commit is appended to the tag name. When notmuch is compiled from a release tarball, there is no git repository and therefore the tarball contains a special file 'version', which contains the version of release tarball. To create a new release one has to run 'make release VERSION=X.Y'.
2010-04-06Merge branch 'debian'Carl Worth
These are the changes made between the notmuch 0.1 release and the release of Debian version 0.1-1. It's mostly changes to the debian directory, of course, but does also include some generally useful Makefile improvements.
2010-04-06Avoid needlessly linking final notmuch binary against libXapian.Carl Worth
The libnotmuch.so library already does, so we don't need to do it again. (Thanks to a Debian debhelper warning for pointing this out.)
2010-04-06Makefile: Add a disctclean target (simply calling clean)Carl Worth
We currently don't distribute anything that's not already in git, so there's no difference between these two targets, (but debhelper wants to be able to call distclean).
2010-04-06configure: Add support for a --mandir optionCarl Worth
Again, nothing tricky here.
2010-04-06Makefile: Move the completion-specific commands to completion/Makefile.localCarl Worth
For much better modularity.
2010-04-06Makefile: Eliminate the separate install-bash and install-zsh targets.Carl Worth
Again, simplifying the interface to the Makefile. Installing these files doesn't require bash nor zsh to actually be installed, so there's little harm in just installing them unconditionally.
2010-04-06Makefile: Eliminate the "make install-emacs" target.Carl Worth
Instead, simply byte-compile the emacs source files as part of "make" and install them as part of "make install". The byte compilation is made conditional on the configure script finding the emacs binary. That way, "make; make install" will still work for someone that doesn't have emacs installed, (which was the only reason we had made a separate "make install-emacs" target in the first place).
2010-04-06Makefiles: Eliminate the useless quiet_* functions.Carl Worth
With the original quiet function, there's an actual purpose (hiding excessively long compiler command lines so that warnings and errors from the compiler can be seen). But with things like quiet_symlink there's nothing quieter. In fact "SYMLINK" is longer than "ln -sf". So all this is doing is hiding the actual command from the user for no real benefit. The only actual reason we implemented the quiet_* functions was to be able to neatly right-align the command name and left-align the arguments. Let's give up on that, and just left-align everything, simplifying the Makefiles considerably. Now, the only instances of a captialized command name in the output is if there's some actually shortening of the command itself.
2010-04-05make release: Add "what's new" and "what is notmuch" sections to announcementCarl Worth
For other projects I release, there's a bunch of manual effort in cosntructing the final release-announcement email. That's silly. So automate this by extracting the appropirate text from NEWS and by including a canned piece of the content from README.
2010-04-05Makefile: Print template for release announcement.Carl Worth
At the end of "make release" or at any point later with "make release-message".
2010-04-05Makefile: Make the "make release" target push the new tag.Carl Worth
Otherwise I'm sure I'll always forget to push it.
2010-04-05Merge commit '0.1'Carl Worth
This is a merge of the few changes I made to release 0.1 retroactively, (after having incremented the version to 0.1.1). Conflicts: Makefile.local (renamed NOTMUCH_VERSION to VERSION)
2010-04-05Makefile: Finish implementing the "make release" target.0.1Carl Worth
And hopefully it actually works.
2010-04-05Makefile: Start implementing a "make release" target.Carl Worth
So far just doing checks that the version is sane and that no release of the same version already exists.
2010-04-05Increment version to 0.1.1Carl Worth
After publishing the first notmuch release (0.1) to http://notmuchmail.org/releases .
2010-04-05Makefile: Add a dist target.Carl Worth
To create a versioned tar file for release.
2010-04-05Makfiles: Make the top-level targets PHONYCarl Worth
Just to avoid any clash with files of the same names.
2010-04-03Makefile.local: Automatically use makefile modeDavid Edmondson
We add a magic line to the beginning of each Makefile.local file to help the editor know that it should use makefile mode for editing the file, (even though the filename isn't exactly "Makefile"). Edited-by: Carl Worth <cworth@cworth.org>: Expand treatment from emacs/Makefile.local to each instance of Makefile.local.
2010-04-03Makefile: Add the emacs directory to load-path when compilingDavid Edmondson
Reviewed-by: Carl Worth <cworth@cworth.org>: Presumably, this is to enable proper building in the very near-term future where the emacs implementation consists of multiple files where some will `require' functions from others.
2010-04-02Makefile: Only print the "make install" hint after the first build.Carl Worth
It was getting quite annoying to see this big block of text on every little build, (but I didn't want to get rid of it for any new users). This seems to strike the right balance.
2010-04-02notmuch: Add a version (0.1 initially) with a new --version option.Carl Worth
We're planning to do actual releases soon, so we need a version number to put into the tar file.
2010-04-01Compile a static notmuch binary (but only install the shared version)Carl Worth
The idea here is to allow a new user of notmuch to be able to run notmuch immediately after compiling, (without having to install the shared library first). This also ensures that the test suite tests the locally compiled library, and not whatever installled version of the library the dynamic linker happens to find.
2010-04-01lib: Switch to a 3-part version number for the library interface.Carl Worth
With a carefully documented description of how to increment the various version components.
2010-04-01Makefiles: Align the columns of output.Carl Worth
Much better.
2010-03-31Makefiles: Make the install rules quiet like the compilation rules.Carl Worth
The output from make is looking better all the time, (though the columns still aren't lined up).
2010-03-31Makefile: Fix to print CFLAGS with "make V=0"Carl Worth
The default "make" would be quite quiet, but still conveniently print the CFLAGS. The explicit "make V=0" was intended to be identical, (only not printing the message about V=1 but was broken in that it left the CFLAGS off). Fix this.
2010-03-31Makefiles: Eliminate shell for loops in rule definitions.Carl Worth
These just made the output look so ugly, and weren't actually making the rule definitions any simpler. Good riddance.
2010-03-31Move installation of library from top-level to lib/Makefile.localCarl Worth
We had a fairly ugly violation of modularity with the top-level Makefile.local isntalling everything, (even when the build commands for the library were down in lib/Makefile.local).
2010-03-31Move some variable assignments from Makefile.local to Makefile.configCarl Worth
There's not any special configure logic for determining these variable values, but if we did add some in the future, then these will now be in the right place for that. Additionally, this now makes Makefile.local the single place for the user to look for manually tweaking a variable assignment, (say, for a compiler that can't accept a particular warning argument). With this change, there should rarely be any need for a user to poke into any Makefile.local file.
2010-03-31Move bulk of rules from Makefile to Makefile.local.Carl Worth
Before it was impossible to know whether any particular setting or rule definition was in Makefile or Makefile.local. So we strip the Makefile down to little more than the list of sub-directories and the logic to include all of the sub-directories' Makefile.local fragments. Then, all of the real work can happen inside of Makefile.local.
2010-03-31Add a --libdir option to ./configureIngmar Vanhassel
This allows packagers to specify to which directory libraries should be installed. Signed-off-by: Ingmar Vanhassel <ingmar@exherbo.org>
2010-03-31Build and link against notmuch shared library, install notmuch.hBen Gamari
Signed-off-by: Ingmar Vanhassel <ingmar@exherbo.org>
2010-03-10Makefile: Conditionalize the "make install" message.Carl Worth
This is the same approach as with the 'all' target previously.
2010-03-10Makefile: Simplify the conditional message of the all target.Carl Worth
We wamt a simple "make" to call the 'all' target and then print a message when done, but we don't want "make install" which depends on that same 'all' target to print the message. We previously did this with a separate 'all-without-message' target, which was inelegant because it caused all users of the target to carefully depend on 'all-without-message' rather than 'all'. Instead, we now use a single 'all' target but with a Makefile conditional that examines the MAKECMDGOALS variable to determine whether to print the message.
2010-03-10Makefile: Add message to make install listing the other install targets.Carl Worth
Otherwise, it's hard for the user to know that things like install-emacs, install-bash, and install-zsh even exist.
2010-03-09Makefile: Add a meesage after "make" telling the user to run "make install"Carl Worth
As one command completes, it's kind of the tool to indicate which command the user should execute next.
2010-03-09emacs: Move emacs UI (currently just one file) to subdirectory.David Bremner
Add emacs/Makefile.local and emacs/Makefile. Move emacs targets into emacs/Makefile.local, but leave the byte compilation rule in the top level Makefile.
2010-02-23Add an "--format=(json|text)" command-line option to both notmuch-search and notmuch-show.Scott Robinson
In the case of notmuch-show, "--format=json" also implies "--entire-thread" as the thread structure is implicit in the emitted document tree. As a coincidence to the implementation, multipart message ID numbers are now incremented with each part printed. This changes the previous semantics, which were unclear and not necessary related to the actual ordering of the message parts.
2010-01-24Add install target for notmuch.desktop file.Jeffrey C. Ollie
Add an install target that uses desktop-file-install to install the desktop file in the appropriate location. The location of the install can be modified by changing the desktop_dir variable. Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>
2010-01-14Install zsh completion filemartin f. krafft
According to the Debian zsh maintainer Clint Adams, this is the first time that a package installs its own completer into zsh. Part of the reason this is not usually done is because zsh does not provide a stable API. We agreed to try it, given that notmuch is expected to change quite a bit initially. If there are problems or the completer goes stable, we'll move it into the upstream zsh repository. Signed-off-by: martin f. krafft <madduck@debian.org>
2009-12-04fix Makefile.local to install bash completion definitions as not executableJameson Graef Rollins
2009-12-04Fix quiet compilation to print the user's CFLAGS, CXXFLAGS, LDFLAGS.Carl Worth
The only reason I ever call "make V=1" myself, (other than when debugging the compiler command-line for some reason), is to ensure whether my CFLAGS, (like "-g -O0" or "-O2"), are actually making it to the command-line. But these are hard to find in the V=1 output, and really, we should just print these even in the quiet case. So do that.
2009-12-01Makefile: Incorporate getline implementation into the build.Carl Worth
It's unconditional for a very short time. We expect to soon be building it only if necessary.
2009-12-01Makefile: Add new "install-bash" target for bash completion supportCarl Worth
It was problematic to have this in "make install" since it would unconditionally try to install to /etc, (even if a non-privileged user was attempting an install to a prefix in the user's home directory, for example).
2009-11-26notmuch: New command 'search-tags'.Jan Janak
This is a new notmuch command that can be used to search for all tags found in the database. The resulting list is alphabetically sorted. The primary use-case for this new command is to provide the tag completion feature in Emacs (and other interfaces). Signed-off-by: Jan Janak <jan@ryngle.com>