]> git.sesse.net Git - mlt/blobdiff - Makefile
A little debugging.
[mlt] / Makefile
index 02732640917267bb6299208eed2a1222fcf0c8b6..e5b17f2441c8c605a62e394f016f239e70ea8e1d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,13 +29,13 @@ install:
        install -d "$(DESTDIR)$(prefix)/include"
        install -d "$(DESTDIR)$(libdir)"
        install -d "$(DESTDIR)$(moduledir)"
-ifeq ($(compat_dirs), true)
-       ln -s "$(moduledir)" "$(DESTDIR)$(libdir)/mlt"
+ifeq ($(extra_versioning), true)
+       ln -s "$(moduledir)" "$(DESTDIR)$(unversionedmoduledir)"
 endif
        install -d "$(DESTDIR)$(libdir)/pkgconfig"
        install -d "$(DESTDIR)$(mltdatadir)"
-ifeq ($(compat_dirs), true)
-       ln -s "$(mltdatadir)" "$(DESTDIR)$(prefix)/share/mlt"
+ifeq ($(extra_versioning), true)
+       ln -s "$(mltdatadir)" "$(DESTDIR)$(unversionedmltdatadir)"
 endif
        install -c -m 644 *.pc "$(DESTDIR)$(libdir)/pkgconfig"
        list='$(SUBDIRS)'; \
@@ -62,7 +62,7 @@ dist:
        git archive --format=tar --prefix=mlt-$(version)/ v$(version) | gzip >mlt-$(version).tar.gz
 
 validate-yml:
-       for file in `find src/modules -type f -name \*.yml`; do \
+       for file in $$(find src/modules -type f -name \*.yml); do \
                echo "validate: $$file"; \
                kwalify -f src/framework/metaschema.yaml $$file || exit 1; \
        done