Apply cosmetic cleanup part of ldflags_order patch from Alberto Villa.
[melted] / src / modules / fezzik / Makefile
index 6102e36..52b5129 100644 (file)
@@ -8,7 +8,7 @@ OBJS = factory.o \
 
 CFLAGS += -I../..
 
-LDFLAGS+=-L../../framework -lmlt
+LDFLAGS += -L../../framework -lmlt
 
 SRCS := $(OBJS:.o=.c)
 
@@ -20,16 +20,16 @@ $(TARGET): $(OBJS)
 depend:        $(SRCS)
                $(CC) -MM $(CFLAGS) $^ 1>.depend
 
-dist-clean:    clean
+distclean:     clean
                rm -f .depend
 
 clean: 
                rm -f $(OBJS) $(TARGET) 
 
 install: all
-       install -m 755 $(TARGET) "$(DESTDIR)$(prefix)/share/mlt/modules"
-       install -m 644 ../fezzik.dict "$(DESTDIR)$(prefix)/share/mlt/modules"
-       install -m 644 ../fezzik.ini "$(DESTDIR)$(prefix)/share/mlt/modules"
+       install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
+       install -m 644 ../fezzik.dict "$(DESTDIR)$(prefix)/share/mlt"
+       install -m 644 ../fezzik.ini "$(DESTDIR)$(prefix)/share/mlt"
 
 ifneq ($(wildcard .depend),)
 include .depend