fixing dependencies

svn path=/trunk/kdebase/kwin/; revision=157222
This commit is contained in:
Stephan Kulow 2002-05-23 20:02:35 +00:00
parent 3482e99a19
commit 04e2d29f24

View file

@ -20,13 +20,12 @@ EXTRA_DIST = $(lnk_DATA)
QEMBED = $(QTDIR)/tools/qembed/qembed QEMBED = $(QTDIR)/tools/qembed/qembed
keramik.cpp: tiles.h keramik.lo: tiles.h
PICS := $(shell ls $(srcdir)/pics/*.png 2>/dev/null)
.PHONY: make-embed .PHONY: make-embed
make-embed: $(PICS) make-embed: $(PICS)
$(QEMBED) --images $^ | \ PICS=`ls $(srcdir)/pics/*.png 2>/dev/null` ;\
$(QEMBED) --images $$pics | \
sed -e 's,static QDict<QImage> dict;,,' | \ sed -e 's,static QDict<QImage> dict;,,' | \
sed -e 's,dict\.find,imageDict.find,' > $(srcdir)/tiles.h sed -e 's,dict\.find,imageDict.find,' > $(srcdir)/tiles.h