make install part 1
[melted] / src / modules / gtk2 / Makefile
index 3e8cd62..77c4765 100644 (file)
@@ -1,3 +1,4 @@
+include ../../../config.mak
 
 TARGET = ../libmltgtk2.so
 
@@ -36,6 +37,9 @@ dist-clean:   clean
 clean: 
                rm -f $(OBJS) $(ASM_OBJS) $(TARGET)
 
+install: all
+       install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
+
 ifneq ($(wildcard .depend),)
 include .depend
 endif