File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ QT_MOC = \
102
102
103
103
QT_QRC_CPP = qt/qrc_bitcoin.cpp
104
104
QT_QRC = qt/bitcoin.qrc
105
+ QT_QRC_BUILD = qt/qrc_bitcoin_build.qrc
105
106
QT_QRC_LOCALE_CPP = qt/qrc_bitcoin_locale.cpp
106
107
QT_QRC_LOCALE = qt/bitcoin_locale.qrc
107
108
@@ -379,11 +380,14 @@ $(QT_QRC_LOCALE_CPP): $(QT_QRC_LOCALE) $(QT_QM)
379
380
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin_locale --format-version 1 $(@D)/temp_$(<F) > $@
380
381
@rm $(@D)/temp_$(<F)
381
382
382
- $(QT_QRC_CPP): $(QT_QRC) $(QT_FORMS_H) $(QT_RES_FONTS) $(QT_RES_ICONS) $(QT_RES_ANIMATION)
383
+ $(QT_QRC_BUILD): $(QT_QRC)
384
+ $(SED) -e 's:\(res\/\(icons\|animation\|fonts\)/\):$(abs_srcdir)/qt/\1:' <"$<" >"$@"
385
+
386
+ $(QT_QRC_CPP): $(QT_QRC_BUILD) $(QT_FORMS_H) $(QT_RES_FONTS) $(QT_RES_ICONS) $(QT_RES_ANIMATION)
383
387
@test -f $(RCC) || (echo "rcc $(RCC) not found, but is required for generating qrc cpp files"; exit 1)
384
388
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin --format-version 1 $< > $@
385
389
386
- CLEAN_QT = $(nodist_qt_libbitcoinqt_a_SOURCES) $(QT_QM) $(QT_FORMS_H) qt/*.gcda qt/*.gcno qt/temp_bitcoin_locale.qrc
390
+ CLEAN_QT = $(nodist_qt_libbitcoinqt_a_SOURCES) $(QT_QM) $(QT_FORMS_H) qt/*.gcda qt/*.gcno qt/temp_bitcoin_locale.qrc $(QT_QRC_BUILD)
387
391
388
392
CLEANFILES += $(CLEAN_QT)
389
393
You can’t perform that action at this time.
0 commit comments