comparison Makefile @ 235:a34cb404cef3

remove the Ui_ prefix from the Qt designer files - The eric IDE will add it without any configuration. Rewrite the Makefile to behave as eric.
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 26 Jan 2015 13:38:55 +0100
parents 9fa1e33b67da
children 3ce39af93e77
comparison
equal deleted inserted replaced
234:82199c57ad93 235:a34cb404cef3
4 RC_FILES = $(patsubst %.qrc, %_rc.py, $(wildcard *.qrc)) 4 RC_FILES = $(patsubst %.qrc, %_rc.py, $(wildcard *.qrc))
5 5
6 all: $(PY_FILES) $(RC_FILES) 6 all: $(PY_FILES) $(RC_FILES)
7 7
8 %.py: %.ui 8 %.py: %.ui
9 pyuic4 -o $@ $< 9 pyuic4 -o Ui_$@ $<
10 10
11 %_rc.py: %.qrc 11 %_rc.py: %.qrc
12 pyrcc4 -o $@ $< 12 pyrcc4 -o $@ $<
13 13
14 .PHONY: clean 14 .PHONY: clean