view Makefile @ 100:99807963d9e0

use the URL as feed title if the feed itself does not come with a title
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 14 Feb 2011 20:51:03 +0100
parents 9fa1e33b67da
children a34cb404cef3
line wrap: on
line source


# find all .ui files and generate corresponding filenames ending in .py
PY_FILES = $(patsubst %.ui, %.py, $(wildcard *.ui))
RC_FILES = $(patsubst %.qrc, %_rc.py, $(wildcard *.qrc))

all: $(PY_FILES) $(RC_FILES)

%.py: %.ui
	pyuic4 -o $@ $<

%_rc.py: %.qrc
	pyrcc4 -o $@ $<

.PHONY: clean
clean:
	rm $(PY_FILES)
	rm *.pyc