producer_framebuffer.c: a little cleanup from last commit
[melted] / src / modules / qimage / Makefile
index 44ad0d6..dfd3993 100644 (file)
@@ -9,6 +9,10 @@ CFLAGS+=-I../../
 LDFLAGS=-L../../framework $(QTLIBS) -lmlt -lstdc++
 CXXFLAGS+=$(CFLAGS) $(QTCXXFLAGS) -Wno-deprecated
 
+ifdef USE_KDE
+LDFLAGS+= -lkio
+endif
+
 SRCS := $(OBJS:.o=.c) $(CPPOBJS:.o=.cpp)
 
 all:   $(TARGET)
@@ -26,7 +30,7 @@ clean:
                rm -f $(OBJS) $(TARGET) $(CPPOBJS)
 
 install: all
-       install -m 755 $(TARGET) "$(DESTDIR)$(prefix)/share/mlt/modules"
+       install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
 
 ifneq ($(wildcard .depend),)
 include .depend