Skip to content

Commit 945008d

Browse files
committed
build: fix qt distdir builds
1 parent dce853e commit 945008d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Makefile.qt.include

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,10 @@ $(QT_QRC_LOCALE_CPP): $(QT_QRC_LOCALE) $(QT_QM)
431431

432432
$(QT_QRC_CPP): $(QT_QRC) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES) $(PROTOBUF_H)
433433
@test -f $(RCC)
434-
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin $< | \
434+
@cp -f $< $(@D)/temp_$(<F)
435+
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin $(@D)/temp_$(<F) | \
435436
$(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@
437+
@rm $(@D)/temp_$(<F)
436438

437439
CLEAN_QT = $(nodist_qt_libbitcoinqt_a_SOURCES) $(QT_QM) $(QT_FORMS_H) qt/*.gcda qt/*.gcno
438440

0 commit comments

Comments
 (0)