Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/287'
Browse files Browse the repository at this point in the history
* origin/pr/287:
  Fix pyc unreproducibility
  spec: improve reproducibility when generating QT files
  • Loading branch information
marmarek committed Apr 5, 2021
2 parents 0e1c9cf + 340aa50 commit d155787
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d155787

Please sign in to comment.