mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Cleanup make system
This commit is contained in:
parent
9c21a23ce8
commit
1c7571fed9
7
Makefile
Normal file
7
Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
all : gui2
|
||||||
|
|
||||||
|
clean :
|
||||||
|
${MAKE} -C src/libprs500/gui2 clean
|
||||||
|
|
||||||
|
gui2 :
|
||||||
|
${MAKE} -C src/libprs500/gui2
|
@ -3,8 +3,10 @@ UI = main_ui.py dialogs/metadata_single_ui.py dialogs/metadata_bulk_ui.py dialog
|
|||||||
dialogs/password_ui.py lrf_renderer/main_ui.py lrf_renderer/config_ui.py
|
dialogs/password_ui.py lrf_renderer/main_ui.py lrf_renderer/config_ui.py
|
||||||
RC = images_rc.pyc
|
RC = images_rc.pyc
|
||||||
|
|
||||||
|
PYUIC = $(shell which pyuic4)
|
||||||
|
|
||||||
%_ui.py : %.ui
|
%_ui.py : %.ui
|
||||||
pyuic4 $< | sed "s/import images_rc/from libprs500.gui2 import images_rc/" | \
|
${PYUIC} $< | sed "s/import images_rc/from libprs500.gui2 import images_rc/" | \
|
||||||
sed "s/from library import/from libprs500.gui2.library import/"> $@
|
sed "s/from library import/from libprs500.gui2.library import/"> $@
|
||||||
|
|
||||||
%_rc.pyc : %.qrc %
|
%_rc.pyc : %.qrc %
|
||||||
|
Loading…
x
Reference in New Issue
Block a user