Make the gui targets file by file
This commit is contained in:
parent
ee429500ec
commit
6da017a562
15
Makefile
15
Makefile
@ -1,14 +1,21 @@
|
|||||||
.PHONY: gui
|
.PHONY: gui
|
||||||
gui: pyqt
|
gui: relational_gui/survey.py relational_gui/maingui.py relational_gui/rel_edit.py relational_gui/resources.py
|
||||||
|
|
||||||
pyqt:
|
relational_gui/survey.py:
|
||||||
pyuic5 relational_gui/survey.ui > relational_gui/survey.py
|
pyuic5 relational_gui/survey.ui > relational_gui/survey.py
|
||||||
|
|
||||||
|
relational_gui/maingui.py:
|
||||||
pyuic5 relational_gui/maingui.ui > relational_gui/maingui.py
|
pyuic5 relational_gui/maingui.ui > relational_gui/maingui.py
|
||||||
pyuic5 relational_gui/rel_edit.ui > relational_gui/rel_edit.py
|
|
||||||
pyrcc5 relational_gui/resources.qrc > relational_gui/resources.py
|
|
||||||
sed -i 's/QtWidgets.QPlainTextEdit/editor.Editor/g' relational_gui/maingui.py
|
sed -i 's/QtWidgets.QPlainTextEdit/editor.Editor/g' relational_gui/maingui.py
|
||||||
echo 'from . import editor' >> relational_gui/maingui.py
|
echo 'from . import editor' >> relational_gui/maingui.py
|
||||||
|
|
||||||
|
relational_gui/rel_edit.py:
|
||||||
|
pyuic5 relational_gui/rel_edit.ui > relational_gui/rel_edit.py
|
||||||
|
|
||||||
|
relational_gui/resources.py:
|
||||||
|
pyrcc5 relational_gui/resources.qrc > relational_gui/resources.py
|
||||||
|
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
./driver.py
|
./driver.py
|
||||||
|
Loading…
Reference in New Issue
Block a user