X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Makefile;h=e5b17f2441c8c605a62e394f016f239e70ea8e1d;hb=25f848ac99aa6b3ced438ee804b4b040a35950f3;hp=02732640917267bb6299208eed2a1222fcf0c8b6;hpb=98ef219555b4c44fd349178bf2b60d9d879d10d4;p=mlt diff --git a/Makefile b/Makefile index 02732640..e5b17f24 100644 --- 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