Mercurial > hg > Feedworm
view Makefile @ 25:4ee11720c213
add a bulider that keeps the .ui files in sync automatically
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 29 Apr 2010 06:46:37 +0200 |
parents | 42a225be7e56 |
children | 9fa1e33b67da |
line wrap: on
line source
# find all .ui files and generate corresponding filenames ending in .py PY_FILES = $(patsubst %.ui, %.py, $(wildcard *.ui)) all: $(PY_FILES) %.py: %.ui pyuic4 -o $@ $< .PHONY: clean clean: rm $(PY_FILES) rm *.pyc