file (GLOB SCRIPTS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.py)

install (
    PROGRAMS ${SCRIPTS}
    DESTINATION ${SCRIPTS_INSTALL_DIR}
)
install (
    FILES apitrace.PIXExp
    DESTINATION ${SCRIPTS_INSTALL_DIR}
)

install (
    PROGRAMS
        convert.py
        history.py
        jsondiff.py
        jsonextractimages.py
        leaks.py
        profileshader.py
        retracediff.py
        snapdiff.py
        tracecheck.py
        tracediff.py
        unpickle.py
    DESTINATION ${SCRIPTS_INSTALL_DIR}
)
install (
    FILES
        apitrace.PIXExp
        highlight.py
    DESTINATION ${SCRIPTS_INSTALL_DIR}
)
install (
    FILES apitrace.PIXExp
    DESTINATION ${SCRIPTS_INSTALL_DIR}
)

Install highlight.py without executable permission.
scripts: Install highlight.py without executable permission.

Fixes https://github.com/apitrace/apitrace/pull/795
