Merge remote-tracking branch 'origin/pr/287'

* origin/pr/287:
  Fix pyc unreproducibility
  spec: improve reproducibility when generating QT files
This commit is contained in:
Marek Marczykowski-Górecki 2021-04-05 15:47:06 +02:00
commit d155787e7c
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -7,13 +7,18 @@ LRELEASE_QT5 ?= $(if $(wildcard /etc/debian_version),lrelease,lrelease-qt5)
SETUPTOOLS_OPTS =
SETUPTOOLS_OPTS += $(if $(wildcard /etc/debian_version),--install-layout=deb,)
export QT_HASH_SEED=0
export PYTHONHASHSEED=0
qubesmanager/ui_%.py: ui/%.ui
pyuic5 --from-imports -o $@ $<
touch --reference=$< $@
ui: $(patsubst ui/%.ui,qubesmanager/ui_%.py,$(wildcard ui/*.ui))
res:
pyrcc5 -o qubesmanager/resources_rc.py resources.qrc
touch --reference=resources.qrc qubesmanager/resources_rc.py
translations:
$(LRELEASE_QT5) qubesmanager.pro