]> git.sesse.net Git - mlt/blobdiff - src/modules/xml/Makefile
Fix parsing mixed XML documents and svg.mlt example.
[mlt] / src / modules / xml / Makefile
index 617c90d21bb39573261b0eb559561d5ab6a0e0d9..cdc0b1fbbc3ff52dd34d47fa6a65c855e16eefc9 100644 (file)
@@ -1,3 +1,7 @@
+CFLAGS += -I../..
+
+LDFLAGS += -L../../framework -lmlt
+
 include ../../../config.mak
 
 TARGET = ../libmltxml$(LIBSUF)
@@ -6,10 +10,8 @@ OBJS = factory.o \
           consumer_xml.o \
           producer_xml.o
 
-CFLAGS += -I../..
 CFLAGS += `pkg-config libxml-2.0 --cflags`
 
-LDFLAGS += -L../../framework -lmlt
 LDFLAGS += `pkg-config libxml-2.0 --libs`
 
 SRCS := $(OBJS:.o=.c)
@@ -30,8 +32,8 @@ clean:
 
 install: all
        install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
-       install -d "$(DESTDIR)$(prefix)/share/mlt/xml"
-       install -m 644 mlt-xml.dtd "$(DESTDIR)$(prefix)/share/mlt/xml"
+       install -d "$(DESTDIR)$(datadir)/mlt/xml"
+       install -m 644 mlt-xml.dtd "$(DESTDIR)$(datadir)/mlt/xml"
 
 ifneq ($(wildcard .depend),)
 include .depend