Skip to content

Commit

Permalink
cmake: Tweak python binding install selection to ignore cmake files.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Nov 24, 2023
1 parent 1cd0b94 commit d8c7856
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mythtv/programs/scripts/scripts.pro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ TEMPLATE = aux
# database backup/restore scripts are standalone
#
database_scripts.path = $${PREFIX}/share/mythtv
database_scripts.files = database/*
database_scripts.files = database/*pl
INSTALLS += database_scripts

#
Expand Down Expand Up @@ -40,6 +40,7 @@ using_bindings_python {
for(name, DIR_NAMES) {
PYTHON_SOURCES -= $$name
}
PYTHON_SOURCES -= $$files("CMakeLists.txt", true)

python_pathfix.output = $${OBJECTS_DIR}/${QMAKE_FILE_NAME}
python_pathfix.commands = $${QMAKE_COPY} ${QMAKE_FILE_NAME} $${OBJECTS_DIR}/${QMAKE_FILE_NAME} $$escape_expand(\n\t) \
Expand Down Expand Up @@ -78,6 +79,7 @@ using_bindings_python {
}

PYTHON_SOURCES += metadata/Music/*
PYTHON_SOURCES -= $$files("CMakeLists.txt", true)

python_pathfix.output = $${OBJECTS_DIR}/${QMAKE_FILE_NAME}
python_pathfix.commands = $${QMAKE_COPY_DIR} ${QMAKE_FILE_NAME} $${OBJECTS_DIR}/${QMAKE_FILE_NAME}
Expand Down

0 comments on commit d8c7856

Please sign in to comment.