On Fri, Mar 24, 2017 at 01:17:45PM -0700, Eric Anholt wrote: > Having bitten off a bit more than I can chew in 3 days with the X > Server (hw/xfree86/sdksyms.c is the worst), I decided to take a quick > pass at converting a project that's my own fault. > > rendercheck is the best case scenario for autotools, and meson still > cuts its build time to practically nothing: I can do a git clean -fdx; > meson build; ninja -C build; ninja -C build install in about half a > second. And, as you can see from the diffstat, the build time isn't > the only reason to love it.
Assuming $PWD is $top_srcdir, here's a quick lookup table for autotool enthusiasts: ./autogen.sh --prefix=foo → meson --prefix=foo build make → ninja -C build make check → ninja -C build test make clean → ninja -C build clean make distclean → rm -rf build make install → ninja -C build install make uninstall → ninja -C build uninstall make dist → no equivalent, use git-archive or something make distcheck → no equivalent, see make dist Note that "build" above is not a target, it's the $build_dir directory name given to meson, so feel free to run 'meson warmfuzzyfeeling' if you're so inclined. All the documentation uses "build" though, so let's stick with that. On Fedora at least, ninja annoyingly is called ninja-build which is easily fixed with a bit of blood, sweat, tears, and a shell alias. Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
