Skip to content

Commit

Permalink
Merge pull request #76 from Gottox/fix/invalid-makefile-target
Browse files Browse the repository at this point in the history
Makefile: fix doc target
  • Loading branch information
Gottox committed Aug 28, 2023
2 parents a3b5154 + 5c29451 commit 30e3e2b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
######################################################################

NINJA_TARGETS := test benchmark install dist scan-build clang-format uninstall \
all clang-tidy doc coverage-html
all clang-tidy doc/html coverage-html

ifeq ($(32BIT),1)
ARCH = i386
Expand Down Expand Up @@ -65,6 +65,10 @@ endif
$(NINJA_TARGETS): $(BUILD_DIR)
$W $(NINJA) -C $< $@

.PHONY: doc

doc: doc/html

$(BUILD_DIR): meson.build Makefile
[ "$(PODMAN)" ] && meson wrap update-db || true
[ -d "$@" ] && rm -rf "$@" || true
Expand Down

0 comments on commit 30e3e2b

Please sign in to comment.