Browse Source

Makefile: The 'justprint' target simulates a run from the root dir, not the build dir

Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
suites/experimental
Sven Eden 1 year ago
parent
commit
d151b1064d
  1. 2
      .idea/codeStyles/Project.xml
  2. 3
      Makefile

2
.idea/codeStyles/Project.xml

@ -101,7 +101,7 @@
<option name="SOFT_MARGINS" value="128" />
<indentOptions>
<option name="INDENT_SIZE" value="8" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="CONTINUATION_INDENT_SIZE" value="16" />
<option name="TAB_SIZE" value="8" />
</indentOptions>
</codeStyleSettings>

3
Makefile

@ -31,6 +31,7 @@ MAKE := $(shell which make)
MESON ?= $(shell which meson)
MKDIR := $(shell which mkdir) -p
RM := $(shell which rm) -f
SED := $(shell which sed)
# Save users/systems choice
envCFLAGS := ${CFLAGS}
@ -87,7 +88,7 @@ install: build
(cd $(BUILDDIR) && DESTDIR=$(DESTDIR) ninja $(NINJA_OPT) install)
justprint: $(CONFIG)
$(MAKE) all JUST_PRINT=YES
($(MAKE) all JUST_PRINT=YES | $(SED) -e 's, \.\./, ./,g')
loginctl: $(CONFIG)
(cd $(BUILDDIR) && ninja $(NINJA_OPT) $@)

Loading…
Cancel
Save