diff --git a/Makefile b/Makefile index 72db67a0d9..6cbce899f0 100644 --- a/Makefile +++ b/Makefile @@ -142,6 +142,9 @@ clint-full: build/.ran-cmake check-single-includes: build/.ran-cmake +$(BUILD_CMD) -C build check-single-includes +generated-sources: build/.ran-cmake + +$(BUILD_CMD) -C build generated-sources + appimage: bash scripts/genappimage.sh diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index b32d54b28e..29a4e1e163 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -660,4 +660,10 @@ add_custom_target( DEPENDS ${LINT_PRG} ${LINT_NVIM_SOURCES} ${LINT_SUPPRESS_FILE} ) +add_custom_target(generated-sources DEPENDS + ${NVIM_GENERATED_FOR_SOURCES} + ${NVIM_GENERATED_FOR_HEADERS} + ${NVIM_GENERATED_SOURCES} +) + add_subdirectory(po)