Mercurial > hg > Feedworm
annotate Makefile @ 150:babe14449162
the entries for the selected feeds had to be set onto the item delegate so had access to the selected feed entry. Keep the list in one place only (the model) and access it from the item delegate.
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sat, 27 Aug 2011 06:43:28 +0200 |
parents | 9fa1e33b67da |
children | a34cb404cef3 |
rev | line source |
---|---|
14 | 1 |
2 # find all .ui files and generate corresponding filenames ending in .py | |
3 PY_FILES = $(patsubst %.ui, %.py, $(wildcard *.ui)) | |
41
9fa1e33b67da
use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
14
diff
changeset
|
4 RC_FILES = $(patsubst %.qrc, %_rc.py, $(wildcard *.qrc)) |
14 | 5 |
41
9fa1e33b67da
use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
14
diff
changeset
|
6 all: $(PY_FILES) $(RC_FILES) |
14 | 7 |
8 %.py: %.ui | |
9 pyuic4 -o $@ $< | |
10 | |
41
9fa1e33b67da
use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
14
diff
changeset
|
11 %_rc.py: %.qrc |
9fa1e33b67da
use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
14
diff
changeset
|
12 pyrcc4 -o $@ $< |
9fa1e33b67da
use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
14
diff
changeset
|
13 |
14 | 14 .PHONY: clean |
15 clean: | |
16 rm $(PY_FILES) | |
17 rm *.pyc |