mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
Makefile: keep cmake-build as default target (#2579)
Fixes https://github.com/awesomeWM/awesome/issues/2576.
This commit is contained in:
parent
d2fd15cf99
commit
c20573e6dd
2 changed files with 6 additions and 4 deletions
|
@ -247,9 +247,6 @@ script:
|
|||
git checkout "$commit"
|
||||
git --no-pager show --stat
|
||||
|
||||
# Remove/clean any existing build dir.
|
||||
sudo make distclean
|
||||
|
||||
if ! make all check CMAKE_ARGS+="-D DO_COVERAGE=0"; then
|
||||
failed="$failed $commit"
|
||||
fi
|
||||
|
|
7
Makefile
7
Makefile
|
@ -7,7 +7,12 @@ endif
|
|||
|
||||
BUILDDIR=build
|
||||
|
||||
all: awesome ;
|
||||
# Run "make" in $(BUILDDIR) by default.
|
||||
# This is required to generate all files already, which should not be generated
|
||||
# with "(sudo) make install" only later.
|
||||
cmake-build: $(BUILDDIR)/Makefile
|
||||
$(ECHO) "Building…"
|
||||
$(MAKE) -C $(BUILDDIR)
|
||||
|
||||
$(BUILDDIR)/Makefile:
|
||||
$(ECHO) "Creating build directory and running cmake in it. You can also run CMake directly, if you want."
|
||||
|
|
Loading…
Reference in a new issue