diff options
| author | Cory Fields <[email protected]> | 2016-06-01 18:06:40 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2016-06-01 20:31:55 -0400 |
| commit | fc4ad0c7fcf2e5841756c9d1003f95c879ee5cd2 (patch) | |
| tree | f66a8a9b072044519a937b5275540ab9b8a6ea6e /src/Makefile.qt.include | |
| parent | build: out-of-tree fixups (diff) | |
| download | discoin-fc4ad0c7fcf2e5841756c9d1003f95c879ee5cd2.tar.xz discoin-fc4ad0c7fcf2e5841756c9d1003f95c879ee5cd2.zip | |
build: more out-of-tree fixups
- clear the __pycache__ during 'make clean'
- Copy the qrc locale file to a temp location and remove it when finished
(rcc expects everything to be in the same path)
Diffstat (limited to 'src/Makefile.qt.include')
| -rw-r--r-- | src/Makefile.qt.include | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.qt.include b/src/Makefile.qt.include index 3b3991944..29e3a264c 100644 --- a/src/Makefile.qt.include +++ b/src/Makefile.qt.include @@ -400,9 +400,10 @@ translate: qt/bitcoinstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_CPP) $(QT_QRC_LOCALE_CPP): $(QT_QRC_LOCALE) $(QT_QM) @test -f $(RCC) - @test -f $(@D)/$(<F) || cp -f $< $(@D) - $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin_locale $(@D)/$(<F) | \ + @cp -f $< $(@D)/temp_$(<F) + $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin_locale $(@D)/temp_$(<F) | \ $(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@ + @rm $(@D)/temp_$(<F) $(QT_QRC_CPP): $(QT_QRC) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES) $(PROTOBUF_H) @test -f $(RCC) |