X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=Makefile;h=afbaecb7bd854937482398f961843ef487ec809f;hb=8105d72a34c89ab7505e0944151daee36150ed7f;hp=8cb236e63e6ba77d880bbac395daa357fb0ccf6c;hpb=2bd3c395eac9fb8b02f6b39786659c7d1481872d;p=melted diff --git a/Makefile b/Makefile index 8cb236e..afbaecb 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,8 @@ SUBDIRS = src/framework \ src/miracle \ src/humperdink \ src/albino \ - src/modules + src/modules \ + profiles all clean: list='$(SUBDIRS)'; \ @@ -29,8 +30,9 @@ install: install -d "$(DESTDIR)$(prefix)/bin" install -d "$(DESTDIR)$(prefix)/include" install -d "$(DESTDIR)$(libdir)" + install -d "$(DESTDIR)$(libdir)/mlt" install -d "$(DESTDIR)$(libdir)/pkgconfig" - install -d "$(DESTDIR)$(prefix)/share/mlt/modules" + install -d "$(DESTDIR)$(prefix)/share/mlt" install -c -m 755 mlt-config "$(DESTDIR)$(bindir)" install -c -m 644 *.pc "$(DESTDIR)$(libdir)/pkgconfig" install -m 644 packages.dat "$(DESTDIR)$(prefix)/share/mlt/" @@ -39,7 +41,7 @@ install: $(MAKE) DESTDIR=$(DESTDIR) -C $$subdir $@ || exit 1; \ done; \ if test -z "$(DESTDIR)"; then \ - /sbin/ldconfig || true; \ + /sbin/ldconfig 2> /dev/null || true; \ fi uninstall: @@ -51,3 +53,9 @@ uninstall: done rm -rf "$(DESTDIR)$(prefix)/include/mlt" rm -rf "$(DESTDIR)$(prefix)/share/mlt" + +dist: + [ -d "mlt-$(version)" ] && rm -rf "mlt-$(version)" || echo + svn export http://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt "mlt-$(version)" + svn log > "mlt-$(version)/ChangeLog" + tar -cvzf "mlt-$(version).tar.gz" "mlt-$(version)"