make: don't require using make, as it is a compat wrapper for cmake #490
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Running part of the build process in the toplevel Makefile means that users are forbidden to use cmake directly in order to get more control over the cmake arguments, and are also forbidden to use alternative cmake backends without having the Make program installed.
It also causes unpredictable issues that must be worked around by every downstream consumer, when the established cmake build process that is supposed to work, aborts with:
/build/lastpass-cli-git/src/lastpass-cli/blob.c:42:10: fatal error: version.h: No such file or directory
#include "version.h"
^~~~~~~~~~~
compilation terminated.
Fixes eli-schwartz/pkgbuilds#12
...
Also even using make as a compat wrapper is broken as it recompiles version.h on every single run.