Fix #37251: Snap not working correctly in metaball edit mode.
[blender.git] / GNUmakefile
index 8876b1db33d1503e14a334a81a9ebcf54dfa5a2a..417ff7770edb15cd4fdf710a25e0f2636df581b7 100644 (file)
@@ -178,12 +178,14 @@ help:
        @echo "  * check_splint         - run blenders source through splint (C only)"
        @echo "  * check_sparse         - run blenders source through sparse (C only)"
        @echo "  * check_smatch         - run blenders source through smatch (C only)"
-       @echo "  * check_spelling_c     - check for spelling errors (OSL only)"
+       @echo "  * check_spelling_c     - check for spelling errors (C/C++ only)"
        @echo "  * check_spelling_c_qtc - same as check_spelling_c but outputs QtCreator tasks format"
-       @echo "  * check_spelling_osl   - check for spelling errors (C/C++ only)"
+       @echo "  * check_spelling_osl   - check for spelling errors (OSL only)"
        @echo "  * check_spelling_py    - check for spelling errors (Python only)"
+       @echo "  * check_descriptions   - check for duplicate/invalid descriptions"
        @echo ""
        @echo "Utilities (not associated with building blender)"
+       @echo "  * icons    - updates PNG icons from SVG files."
        @echo "  * tbz      - create a compressed svn export 'blender_archive.tar.bz2'"
        @echo ""
        @echo "Documentation Targets (not associated with building blender)"
@@ -241,13 +243,13 @@ test_style_c_qtc:
 
 test_style_osl:
        # run our own checks on C/C++ style
-       PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/check_style_c.py $(BLENDER_DIR)/intern/cycles/kernel/osl
+       PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/check_style_c.py $(BLENDER_DIR)/intern/cycles/kernel/shaders
 
 
 test_style_osl_qtc:
        # run our own checks on C/C++ style
        USE_QTC_TASK=1 \
-       PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/check_style_c.py $(BLENDER_DIR)/intern/cycles/kernel/osl > \
+       PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/check_style_c.py $(BLENDER_DIR)/intern/cycles/kernel/shaders > \
        test_style.tasks
        @echo "written: test_style.tasks"
 
@@ -272,7 +274,9 @@ project_eclipse:
 check_cppcheck:
        $(CMAKE_CONFIG)
        cd $(BUILD_DIR) ; \
-       python3 $(BLENDER_DIR)/build_files/cmake/cmake_static_check_cppcheck.py
+       python3 $(BLENDER_DIR)/build_files/cmake/cmake_static_check_cppcheck.py 2> \
+       $(BLENDER_DIR)/check_cppcheck.txt
+       @echo "written: check_cppcheck.txt"
 
 check_clang_array:
        $(CMAKE_CONFIG)
@@ -308,7 +312,10 @@ check_spelling_c_qtc:
        $(BLENDER_DIR)/check_spelling_c.tasks
 
 check_spelling_osl:
-       cd $(BUILD_DIR) ; PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/spell_check_source.py $(BLENDER_DIR)/intern/cycles/kernel/osl
+       cd $(BUILD_DIR) ; PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/spell_check_source.py $(BLENDER_DIR)/intern/cycles/kernel/shaders
+
+check_descriptions:
+       $(BUILD_DIR)/bin/blender --background -noaudio --factory-startup --python $(BLENDER_DIR)/source/tools/check_descriptions.py
 
 # -----------------------------------------------------------------------------
 # Utilities
@@ -320,6 +327,10 @@ tbz:
        rm -rf blender_archive/
        @echo "blender_archive.tar.bz2 written"
 
+icons:
+       $(BLENDER_DIR)/release/datafiles/blender_icons.sh
+       $(BLENDER_DIR)/release/datafiles/prvicons.sh
+
 
 # -----------------------------------------------------------------------------
 # Documentation