Re: [Tracker] Meson build instructions for Tracker



On 3/30/17, Sam Thursfield <ssssam gmail com> wrote:
      * There's no `make dist` equivalent. We can use `git archive` to
        produce tarballs, but these won't have the .c files generated by
        valac. That said, shipping the generated .c files does make the
        Vala preprocessor useless so it would be good if we can stop,
        but that could break things for downstreams unexpectedly.

Meson 0.41 is going to gain a `dist` target. It won't allow us to
carry on shipping pregenerated Vala code, but looks useful:

Creating distribution tarballs is simple:

ninja dist

This will create a .tar.xz archive of the source code including submodules without any revision
control information. This command also verifies that the resulting archive can be built, tested
and installed. This is roughly equivalent to the distcheck target in other build systems. Currently
this only works for projects using Git and only with the Ninja backend.

From http://mesonbuild.com/Release-notes-for-0-41-0.html

Sam


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]